use Cwd 'abs_path'; my $path = abs_path($file); [download]
(Update: though, reading the other replies, I may have misunderstood the question...)
In reply to Re: File path by almut in thread File path by Rijwan