in reply to Re: shebang arguments
in thread shebang arguments

Thanks very much everyone, especially friedo for the comprehensive answer :-)

I found the answer to '-f or -d' here:
http://perldoc.perl.org/functions/-X.html