Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by perlancar (Hermit)
on Jul 16, 2021 at 00:15 UTC ( #11135049=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

Cwd::Ext's abs_path_nd uses Cwd's cwd so it still resolves symlinks for retrieving "the current directory" part.
  • 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://11135049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2023-12-02 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (13 votes). Check out past polls.

    Notices?