How about
use File::Basename 'dirname'; use Cwd 'abs_path'; my $script_dir = abs_path(dirname($0));
In reply to Re: Determining the directory the running script is in
by Corion
in thread Determining the directory the running script is in
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |