The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.


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 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.

See for more information, and for further discussion of Modern Perl and its implications.


chromatic, <chromatic at>


None reported.

Please report any bugs or feature requests to bug-modern-perl at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Modern::Perl

You can also look for information at:


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.