Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: problem installing perl modules without root permission

by almut (Canon)
on Feb 28, 2008 at 10:47 UTC ( [id://670881]=note: print w/replies, xml ) Need Help??


in reply to problem installing perl modules without root permission

In contrast to the typical Unix shell, Perl does not expand ~ to your home directory, so you'll have to do that yourself, i.e. something like '/home/username/...', or "$ENV{HOME}/..." (if HOME is set in your environment).

(for the sake of correctness: I updated the $ENV{HOME} part a couple of seconds after my initial post... thus glide's reply)

Replies are listed 'Best First'.
Re^2: problem installing perl modules without root permission
by moritz (Cardinal) on Feb 28, 2008 at 10:54 UTC
    ... or use glob to expand the tilde.
Re^2: problem installing perl modules without root permission
by glide (Pilgrim) on Feb 28, 2008 at 10:53 UTC
    Hi,

    in a unix environment, you can also use the $ENV{HOME}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found