Package::Strictures::Registry - Data Storage name-space for stricture parameters.
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.
Note: This MUST be performed prior to compile-time, or it won't affect the module AT ALL
Kent Fredric <email@example.com>
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.