Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 ( #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
Node Status?
node history
Node Type: note [id://1192814]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2020-10-31 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (286 votes). Check out past polls.

    Notices?