Test2::EventFacet::Meta - Facet for meta-data
| Use Case | Command | Description |
|---|---|---|
| đ Access arbitrary metadata | $meta->{anything} | Retrieve a metadata value by key |
| đ Access via method | $meta->anything() | Same as hash access, autovivified |
| âī¸ Set arbitrary metadata | $meta->{anything} = $value or $meta->anything($value) | Assign metadata â autovivified |
This facet can contain any random meta-data that has been attached to the event.
Any/all fields and accessors are autovivified into existence. There is no way to know what metadata may be added, so any is allowed.
$anything = $meta->{anything}
$anything = $meta->anything()
The source code repository for Test2 can be found at http://github.com/Test-More/test-more/.
Chad Granum <exodist AT cpan.org>
Chad Granum <exodist AT cpan.org>
Copyright 2020 Chad Granum <exodist AT cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-23 11:33 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)