use Cwd qw(abs_path); use File::Basename; my $dir = abs_path(dirname($file));
In reply to Re: Re: Answer: How do I get the directory containing a given file?
by wog
in thread How do I get the directory containing a given file?
by mobiGeek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |