in reply to Re: perl -x to test while developing (riddles)
in thread perl -x to test while developing
perlrun says "Any meaningful switches on that line will be applied" but "meaningful" seems to be strangely implemented. At least with 5.6.1.$ perl -mstrict=vars -le 'print $x**$y;' Global symbol "$x" requires explicit package...
Here's another one:
$ perl -x #!perl -wl -Mstrict -MB -MCGI Argument "MCGI" isn't numeric in subtraction (-). Argument "-MB" isn't numeric in subtraction (-).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl -x to test while developing (-m switch)
by Aristotle (Chancellor) on Apr 30, 2003 at 12:59 UTC |