I can suggest trying:
I kind of extrapolated this from the perlrun docs, and, although I kinda can see it (perl trying to figure out where its arguements stop and yours start), it definitely doesn't do what I expect based on it being able to figure this out just fine when not using the -s flag.$ perl -se 'print $foo,$/' -- -foo=bar bar
In reply to Re: -s switch with -e
by Tanktalus
in thread -s switch with -e
by jcc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |