Test2-Util-Facets2legacy

Test2::Util::Facets2Legacy(3p) Perl Programmers Reference Guide

Test2-Util-Facets2legacy

Test2::Util::Facets2Legacy(3p) Perl Programmers Reference Guide # Test2::Util::Facets2Legacy(3p) Perl Programmers Reference Guide NNAAMMEE # Test2::Util::Facets2Legacy - Convert facet data to the legacy event API. DDEESSCCRRIIPPTTIIOONN # This module exports several subroutines from the older event API (see Test2::Event). These subroutines can be used as methods on any object that provides a custom "facet_data()" method. These subroutines can also be used as functions that take a facet data hashref as arguments. SSYYNNOOPPSSIISS # AASS MMEETTHHOODDSS # package My::Event; use Test2::Util::Facets2Legacy ':ALL'; sub facet_data { return { . ...