Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Using my version of a cpan module

by VinsWorldcom (Prior)
on Jul 19, 2019 at 20:15 UTC ( #11103048=note: print w/replies, xml ) Need Help??


in reply to Using my version of a cpan module

I too use Strawberry and use local::lib. To first get it "installed":

perl -Mlocal::lib

Not sure if I needed to create the C:\Users\VinsWorldcom\perl5 directory of if it did that for me. But when you run the above command, it prints out some environment variables to set and you can add them through Control Panel -> System so they're permanent. Then you can install modules in the C:\Users\VinsWorldcom\perl5 and your PERL5LIB environment variable path should have your local::lib directory at the beginning.

NOTE: If you're using Git for Windows bash, it comes with a perl which is *not* Strawberry and running perl from Git for Windows bash (at least for me) uses its local perl, *not* Strawberry.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-06-04 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?