in reply to Re^2: perl -e ';' -MCGI
in thread perl -e ';' -MCGI

Actually yes, to get perl to stop processing switches after -e you need to use --,
$ perl -le"print for @ARGV, keys %INC " -MCGI -- -MCGI -MCGI warnings/register.pm Carp.pm vars.pm strict.pm Exporter.pm constant.pm warnings.pm CGI/Util.pm overload.pm CGI.pm

Replies are listed 'Best First'.
Re^4: perl -e ';' -MCGI
by cdarke (Prior) on Oct 28, 2010 at 15:59 UTC
    C:\> perl -le"print for @ARGV, keys %INC " -MCGI warnings/register.pm Carp.pm vars.pm Exporter.pm strict.pm C:/Perl64/site/lib/sitecustomize.pl constant.pm warnings.pm CGI/Util.pm overload.pm CGI.pm