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 (-).
In reply to Re: Re: perl -x to test while developing (riddles)
by bsb
in thread perl -x to test while developing
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |