You could also use one of the many getopt modules instead of -s. This is basically doing the same thing as manipulating @ARGV in a BEGIN {} block before the main program loop, but doing it for you and making it a little cleaner for a one-liner.

Email codedump link for Is it possible to pass command-line arguments to @ARGV when using the -n or -p options?