Perl extension to allow compile time traits for classes/roles
MooseX::CompileTime::Traits allows role application at compile time via use statements. What this class does is provide an import method that will apply each of the roles (along with any arguments for parameterized roles). Roles and their arguments should be provided as an ArrayRef of tuples. Simply 'with' the role to gain the functionality.
$
pkg install p5-MooseX-CompileTime-TraitsOrigin
devel/p5-MooseX-CompileTime-Traits
Size
40.4KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
3 packages
Required by
1 packages