in reply to Re: Finding out name and path of script filein thread Finding out name and path of script file
Did you know that FindBin is "broken" (well, perverse)? Just use File::Spec:
require File::Spec; my $script= File::Spec->rel2abs( $0 ) [download]
- tye