I have Perl script and need to determine the full path and filename of the script during execution. I discovered that depending on how you call the script $0 va
$0
Use File::Spec; File::Spec->rel2abs( __FILE__ );
http://perldoc.perl.org/File/Spec/Unix.html