note
blakem
Might also point out that the specifics are documented [http://www.perldoc.com/perl5.6.1/pod/perlrun.html#-m%5b-%5dmodule|in this section of perlrun]:
<P>
<UL>
<TT>
-m&#091;-]module<BR>
-M&#091;-]module<BR>
-M&#091;-]'module ...'<BR>
-&#091;mM]&#091;-]module=arg&#091;,arg]...<BR>
<UL>
-mmodule executes `use' module `();' before executing
your program.<P>
-Mmodule executes `use' module `;' before executing
your program. You can use quotes to add extra code
after the module name, e.g., `'-Mmodule qw(foo
bar)''.<P>
If the first character after the -M or -m is a dash
(`-') then the 'use' is replaced with 'no'.<P>
A little builtin syntactic sugar means you can also
say -mmodule=foo,bar or -Mmodule=foo,bar as a
shortcut for `'-Mmodule qw(foo bar)''. This avoids
the need to use quotes when importing symbols. The
actual code generated by -Mmodule=foo,bar is `use
module split(/,/,q{foo,bar})'. Note that the `='
form removes the distinction between -m and -M.
</UL>
</TT>
</UL>
<P>
-Blake
138176
138176