Matt S Trout > App-MyPerl > if::minus_e

Download:
App-MyPerl-0.003000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

if::minus_e - only load and import modules for one-liners

SYNOPSIS ^

This:

  $ perl -Mif::minus_e=Some::Module myscript.pl

is equivalent to just:

  $ perl myscript.pl

However, this:

  $ perl -Mif::minus_e=Some::Module -e '...'

is equivalent to:

  $ perl -MSome::Module -e '...'

or, similarly:

  $ perl -e 'use Some::Module; ...'

And this:

  $ perl -Mif::minus_e=Some::Module,foo,bar -e '...'

is equivalent to:

  $ perl -MSome::Module=foo,bar -e '...'

or, again:

  $ perl -e 'use Some::Module qw(foo bar); ...'

AUTHOR and COPYRIGHT ^

See App::MyPerl

syntax highlighting: