Thorium::Protection - Use protection when dealing with radioactive elements
This pragma does:
Turns on strict
Turns on all warnings
Enable 5.10+ features via feature
Sets the method order resolution (mro) to C3. See mro for more info
Turns indirect method calling into a fatal action. This is done through indirect
Inspiration derived from Modern::Perl and cron.
 Technically not a pragma, but a lower case package name. But since we are changing pragma-y things, make it look like one
useshould be as close to the first thing executed as possible, otherwise you may think you have strict turned on, but won't.
Use of this in modules isn't encouraged as you don't really gain anything other than a shaving off a few keystrokes. Modules are generally not invoked as if executables from the command line. Additionally there would be a slight (not timed/tested) overhead of doing this a large amount of times. Therefore, stick to use in non-modules.
Not tested under mod_perl. While I don't suspect any problems, mod_perl does weird things.
This doesn't enabled strict, warnings, etc for all modules/other perl associated with that script -- only to the end of the file.
Adam Flott <firstname.lastname@example.org>
This software is copyright (c) 2011 by Adam Flott <email@example.com>, CIDC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.