use File::Spec; use File::Basename; my $f = '../blah.txt'; my $dir = dirname( File::Spec->rel2abs($f) );
In reply to Re: Full path to the current file?
by davidrw
in thread Full path to the current file?
by RoUS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |