in reply to -s switch with -e

I can suggest trying:

$ perl -se 'print $foo,$/' -- -foo=bar bar
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.