Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: -s switch with -e

by lidden (Curate)
on Apr 17, 2006 at 20:43 UTC ( [id://543914] : note . print w/replies, xml ) Need Help??


in reply to -s switch with -e

perl -se 'print $foo' -- -foo=bar

Works, without '--' the switch is sent to perl instead of your script.