Modern::Perl - enable all of the features of Modern Perl with one command
Version 1.03
Modern Perl programs use several modules to enable additional features of Perl and of the CPAN. Instead of copying and pasting all of these use lines, instead write only one:
use
use Modern::Perl;
For now, this only enables the strict and warnings pragmas, as well as all of the features available in Perl 5.10. It also enables C3 method resolution order; see perldoc mro for an explanation. In the future, it will include additional CPAN modules which have proven useful and stable.
perldoc mro
See http://www.modernperlbooks.com/mt/2009/01/toward-a-modernperl.html for more information, and http://www.modernperlbooks.com/ for further discussion of Modern Perl and its implications.
chromatic, <chromatic at wgz.org>
<chromatic at wgz.org>
None reported.
Please report any bugs or feature requests to bug-modern-perl at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Modern-Perl. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-modern-perl at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Modern::Perl
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Modern-Perl
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Modern-Perl
CPAN Ratings
http://cpanratings.perl.org/d/Modern-Perl
Search CPAN
http://search.cpan.org/dist/Modern-Perl/
Damian Conway (inspiration from Toolkit), Florian Ragwitz (B::Hooks::Parser, so I didn't have to write it myself), chocolateboy (for suggesting that I don't even need B::Hooks::Parser, at least for now), Damien Learns Perl, David Moreno, and Evan Carroll for reporting bugs and requesting features.
Copyright 2009 chromatic, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10 itself.
To install Modern::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Modern::Perl
CPAN shell
perl -MCPAN -e shell install Modern::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.