in reply to -s option

As stated in perldoc:/perlrun (well worth the read for great switches like -e, -n, -p, -a, and others), it provides some really basic parsing of command-line options.
perl -sle 'print $foo' -- -foo=bar # prints: bar
Another (and much more flexible) option for command-line option parsing is Getopt::Long.