Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by perlancar (Hermit)
on Jul 15, 2021 at 23:57 UTC ( #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 exploiting the Monastery: (9)
As of 2023-12-11 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?