Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: PerlSVC and Cwd::abs_path

by thargas (Chaplain)
on May 28, 2012 at 11:55 UTC ( #972817=note: print w/ replies, xml ) Need Help??


in reply to PerlSVC and Cwd::abs_path

It's unclear to me what you want. You say you want the current running directory, but then you call abs_path($0) which will give you a path to the script itself. If you want a path to the script, it's more usual to use cpan:FindBin. If you really want the current directory, I think you want to look at cpan:Cwd at cwd() or getcwd() instead of abs_path().


Comment on Re: PerlSVC and Cwd::abs_path
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-07-31 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (253 votes), past polls