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

Re: Strawberryperl (Portable) impossible install module (perlbrew for Windows!)

by stevieb (Canon)
on Jun 18, 2016 at 11:06 UTC ( [id://1166033]=note: print w/replies, xml ) Need Help??


in reply to Strawberryperl (Portable) impossible install module

"being the nice Perlbrew not available for Windows"

It sure is! (Well, it's a perlbrew equivalent written in C#). My forked version of berrybrew has improvements and additional features over the original written by David Farrell, and can be fetched via git, or downloaded as a zip archive.

See "update2" below. You may need to do some fiddling with path to make it play nice with ActiveState, but I'd honestly recommend removing ActiveState first.

update: I did send in PRs to the original berrybrew, but the new maintainer felt that my C# coding style wasn't acceptable enough, and unfortunately, didn't attempt to modify my needed changes for inclusion, so I created my own fork. I'm not a C# dev, and needed specific features...(--with flag for exec, much better PATH env var management in subshells, adding/removing perls available without having to recompile etc)

update2: Just added an 'off' feature which disables berrybrew perls. This allows you to use berrybrew alongside system installed Strawberry and/or ActiveState perls without any issues or conflicts.

  • Comment on Re: Strawberryperl (Portable) impossible install module (perlbrew for Windows!)

Replies are listed 'Best First'.
Re^2: Strawberryperl (Portable) impossible install module
by Anonymous Monk on Jun 18, 2016 at 12:23 UTC

    That is good news! I've read on github, but I havent't find any mention of the command "off" which is used with Perlbrew to return to the "original" Perl installation (the one in PATH). On my OSX I use this to switch from the ActiveState installation to all the other installations downloaded and managed with Perlbrew.

      Update: The "off" feature described in this node is now completed per Re^2: Strawberryperl (Portable) impossible install module.

      I've opened an issue to add this command, and try to get it included over the next week :) This one should be pretty trivial. The unfortunate thing about Windows is that one needs to open a brand new shell to get PATH env var reset; you can't change it on the fly. But still, I can get that included without much hassle (essentially, it's just removing the path to berrybrew from PATH).

      If you want to be notified when the change is complete, you can subscribe to the issue here.

      update: I've actually got some time this morning before I have to run out, so I'll create a new branch and see how quickly I can get this feature added. I'll post back here if I can include it today, otherwise just watch the ticket.

      Just saw your update. Wenn, removing Activestate... that is what I'm trying to avoid using Strawberry Portable...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found