Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Getting the absolute path of a script, without PWD (bug?)(update)

by LanX (Saint)
on Jul 16, 2021 at 07:21 UTC ( [id://11135056] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    lanx@ubuntu14-large:/tmp/sym$ perl -MCwd -E'say `pwd` '
    /tmp/dir
    ...
    /tmp/sym
    
    lanx@ubuntu14-large:/tmp/sym$