use File::Basename; my $script_dir = dirname($0); [download]
In reply to Re: How to obtain current working directory by Aragorn in thread How to obtain current working directory by Nelly