Test2::EventFacet(3pm) Perl Programmers Reference Guide Test2::EventFacet(3pm)

# [NAME](#NAME)

Test2::EventFacet - Base class for all event facets.

# [DESCRIPTION](#DESCRIPTION)

Base class for all event facets.

# [METHODS](#METHODS)

$key = $facet\_class-&gt;**facet\_key()**

This will return the key for the facet in the facet data hash.

$bool = $facet\_class-&gt;**is\_list()**

This will return true if the facet should be in a list instead of a single item.

$clone = $facet-&gt;**clone()**

$clone = $facet-&gt;clone(%replace)

This will make a shallow clone of the facet. You may specify fields to override as arguments.

# [SOURCE](#SOURCE)

The source code repository for Test2 can be found at &lt;https://github.com/Test-More/test-more/&gt;.

# [MAINTAINERS](#MAINTAINERS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad)

# [AUTHORS](#AUTHORS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad~2)

# [COPYRIGHT](#COPYRIGHT)

Copyright Chad Granum &lt;exodist@cpan.org&gt;.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See &lt;https://dev.perl.org/licenses/&gt;

2026-10-27 perl v5.44.0

---

Document: Test2::EventFacet(3pm) from perl 5.44.0-r4 (Chainguard OS)
Source: https://github.com/Perl/perl5.git
