Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2021-01-27 17:18 GMT
Find Nodes?
    Voting Booth?