Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: New-to-Perl: recommendations for windows setup?

by bliako (Prior)
on Feb 16, 2021 at 20:35 UTC ( #11128472=note: print w/replies, xml ) Need Help??


in reply to Re: New-to-Perl: recommendations for windows setup?
in thread New-to-Perl: recommendations for windows setup?

Thanks for sharing and the suggestions. This is intended for a kid so I will start with the IDE-based but I think I will try Strawberry and berrybrew first before ActiveState. 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).

  • Comment on Re^2: New-to-Perl: recommendations for windows setup?

Replies are listed 'Best First'.
Re^3: New-to-Perl: recommendations for windows setup?
by pryrt (Monsignor) on Feb 16, 2021 at 21:21 UTC
    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. ;-) )

       Where have you gotten the impression that it's hard to set up the paths correctly for cpanm with Strawberry

      You mentioned some. I have not installed Strawberry before. And I will not do that installation myself, so I want to have something robust to start with. I am being cautious that's all.

Re^3: New-to-Perl: recommendations for windows setup?
by stevieb (Canon) on Feb 17, 2021 at 00:14 UTC

    berrybrew's purpose is managing all of that PATH hell.

    That's literally its job, and what it does.

    Install it via its installer, then in the UI, Install a version of Perl, Switch to it, then open it up to use it.

    You can install any number of Perls you want, and switch back and forth between them, or "Use" any one of them on the fly without having to change anything else.

      I think eventually this will be my setup: berrybrew, strawberry and IDEA.

Re^3: New-to-Perl: recommendations for windows setup?
by LanX (Cardinal) on Feb 16, 2021 at 21:14 UTC
    Well if it's for a kid this might be the best choice, good luck! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2021-04-16 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?