http://www.perlmonks.org?node_id=222476


in reply to shebang line - foreign to me

So, it looks like Unix systems are the only kind I can really address in regards to making my script friendly across systems.

Or Apache on Win32.

Perl also picks up command-line args when it finds a shebang line at the top of a script. Check out "#! and quoting on non-Unix systems" in perlrun.