Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I do too use cpanm from my linux commandline and I hope that I will have it available on the windows terminal too with Strawberry (I mean all that PATH hell).

This is what confuses me. Where have you gotten the impression that it's hard to set up the paths correctly for cpanm with Strawberry? Literally, if you install the full-installation strawberry, it sets the path correctly (adds three directories) one time, and it just works. If you use the portable strawberry, you either have to use its portableshell.bat to set up the environment each time you need it, or you can manually add those three directories into your permanent path, and it works. Since this is for a new-to-perl user, you're not going to be setting up multiple perls (in the end), so you don't have to worry about multiple strawberries, or strawberry-vs-active-state.

c:\strawberry\c\bin => this is where gcc and gmake (etc) live c:\strawberry\perl\bin => this is where perl.exe and cpanm (aka +cpanm.bat) (and other similar tools) live c:\strawberry\perl\site\bin => this is where other module-installed t +ools live (for example, in my setup, Devel::Cover's cover (aka cover. +bat) goes here)

For my experience with Strawberry, cpanm just works. It's only if you are trying something unusual that things go awry. (More likely to cause a problem is having some other mingw gcc compiler in your path before strawberry's gcc. And that can be easily solved by giving the priority to the strawberry path. ;-) )


In reply to Re^3: New-to-Perl: recommendations for windows setup? by pryrt
in thread New-to-Perl: recommendations for windows setup? by bliako

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-19 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found