Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Getting the absolute path of a script, without PWD

by perlancar (Hermit)
on Jul 15, 2021 at 23:57 UTC ( [id://11135048]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting the absolute path of a script, without PWD
in thread Getting the shell's version of working directory, without PWD's help

Path::Tiny's absolute() uses getcwd() so it still resolves symlinks when getting the current directory.
  • Comment on Re^2: Getting the absolute path of a script, without PWD

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found