use Cwd qw(abs_path); use File::Basename; my $dir = dirname(abs_path($0)); print "$dir\n";
In reply to Re: Difference btw. abs_path and $0?
by toolic
in thread Difference btw. abs_path and $0?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |