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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|