http://qs321.pair.com?node_id=661101


in reply to Re: Full path to the current file?
in thread Full path to the current file?

Hi, ++davidrw
or even
$ perl -MFile::Spec -le 'print File::Spec->rel2abs( __FILE__ ) ;' /home/svenXY/-e # for a one-liner

File::Basename is not necessary here.
Regards,
svenXY