Package::Strictures::Registry - Data Storage name-space for stricture parameters.
version 0.01001319
Package::Strictures::Registry->advertise_value( 'Some::Package', "STRICT");
An informational data-storage for developers to see what packages that are loaded have strictures that are able to be tuned, without having to grok the source.
Note that by the time you see this value, it is already too late to try setting it.
Package::Strictures::Registry->has_value( 'Some::Package', 'STRICT' )
Sees if somebody ( A developer ) has defined an override value for the stricture.
This will be picked up by a performing package when somebody first use/require's it.
Package::Strictures::Registry->get_value('Some::Package' , 'STRICT' )
Returns the value stored earlier if there was one.
This is done internally by Package::Strictures::Register to populate the values for the compile-time constants.
Package::Strictures::Registry->set_value('Some::Package', 'STRICT' , 1 );
Sets a default value override for Some::Package to pick up when it compiles.
Some::Package
Note: This MUST be performed prior to compile-time, or it won't affect the module AT ALL
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2012 by Kent Fredric.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Package::Strictures, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Package::Strictures
CPAN shell
perl -MCPAN -e shell install Package::Strictures
For more information on module installation, please visit the detailed CPAN module installation guide.