Since Modern::Perl is written in pure Perl, he could just copy it to his own module M.pm in his path and adjust it to his needs.
Running perl -MM script.pl would do the trick then.
edit
That's not longer than a hypothetical switch -sw which activates s trict and w arnings
| [reply] [d/l] [select] |
Ha ha, I see Modern::Perl contains a "odern" (sic) directory, in addition to a Modern directory,
presumably to enable this hack to work with only one M:
perl -Modern::Perl script.pl
As an aside for CPAN authors, note that Release::Checklist cautions
against adding developer convenience modules, such as Modern::Perl, as a dependency.
| [reply] [d/l] [select] |
> as a dependency.
well I think he could put his own M.pm into the \lib of his own repository ... ?
strict and warnings are not what I consider "deep" dependencies.
PS: though my.pm might be a better name, to avoid conflicts.
| [reply] [d/l] [select] |