Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: When modules install in perl5

by pryrt (Abbot)
on Sep 25, 2017 at 13:14 UTC ( [id://1200045]=note: print w/replies, xml ) Need Help??


in reply to When modules install in perl5

My shared-hosting provider uses cPanel and allows installation of modules (including modules that require compilation) thru the cPanel interface (or manually thru ssh access) into the ~/perl5/ hierarchy. In my host's cPanel help describing how to install and access local modules, it explains that I need to either use the shebang #!/usr/bin/perlml, which is set up to automatically look in the locally-installed directory for modules, or to use cPanelUserConfig;, which also tells perl where to find local modules. Your host may be different, but my guess is that they have documentation for how they expect you to install and access locally-installed perl modules.

Replies are listed 'Best First'.
Re^2: When modules install in perl5
by cristofayre (Sexton) on Sep 26, 2017 at 16:50 UTC

    Yep, those are the exact lines that are confusing me. In the end, I didn't have to use either in my scripts. Just used "#!/usr/bin/perl" ... and it still found files that CPAN installed in the "~/perl5" folder heirarchy. So what this actually relates to I do nt know. Still, it works. That's all I'm worried about!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found