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

Re: Can't locate Unicode/Map.pm but it's installed and I THINK in @INC

by Crackers2 (Parson)
on Jun 14, 2017 at 17:26 UTC ( [id://1192814]=note: print w/replies, xml ) Need Help??


in reply to Can't locate Unicode/Map.pm but it's installed and I THINK in @INC

Does XXX have enough permissions to read the files under /root/perl ?
  • Comment on Re: Can't locate Unicode/Map.pm but it's installed and I THINK in @INC

Replies are listed 'Best First'.
Re^2: Can't locate Unicode/Map.pm but it's installed and I THINK in @INC
by stevieb (Canon) on Jun 14, 2017 at 17:36 UTC

    I would surely hope not.

    The real answer is install modules in the user's home directory or a directory that is shared amongst all users, then add it to @INC:

    use lib '/path/to/shared/dir';
      DUH! This is my first PERL install. Didn't know some of the best practices so I just installed as root. I followed your suggestion, installed the module to user's home directory, and pointed the "use lib..." to it. BINGO! Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-26 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found