Nothing like a long hospital stay after a severe head injury to get caught up on some project work.
I've released version 1.26 of berrybrew.
See my blog post for more information, and an example of the new berrybrew virtual command.
Here's a summary of the new features:
- berrybrew virtual allows you to manage non-Strawberry external Perls
- Unattended installations now possible
- new quick argument to berrybrew switch allows switching to new Perl instances without opening a new CLI window
- berrybrew module export and berrybrew modules import allows you to export and import modules between Perls. Custom module list files allowed
- Ability to change between Strawberry's home directory and Windows home directory when using File::HomeDir
- Management of external Perl installations; Using the new berrybrew virtual command, one can bring in other installations of Perl for management under berrybrew. For example, if you have an ActiveState Perl installed on the system, you can virtualize it under berrybrew, and use or switch to it just like any of the portable Strawberry Perls we normally manage. This means that you can switch over to your system Perl when needed, without having to modify PATH, or temporarily disabling berrybrew
- Unattended installations are now possible. We no longer prompt for user acceptance when running the initial configuration
- New quick argument to berrybrew switch; This allows you to switch to a different Perl instance persistently without having to close the existing CLI window and opening a new one (note: some binaries and features may not work correctly. If you run into problems, simply open a new window)
- Export and import modules from one Perl instance to another; berrybrew modules export and berrybrew modules import will dump a list of all installed CPAN distribution names from one Perl and install it on others. The export files can be edited at will before re-importing, and you can even create your own module list files to use as you see fit. Using this feature, in conjunction with berrybrew clone allows you to easily set up template Perl instances for very quick Perl platform setup
- Ability to change the location where File::HomeDir points to; you can switch between the Windows home directory location, or the default location that Strawberry Portable editions set
Side note... a request came in by a user to support previously installed Perls. Their developers use berrybrew, but all of their CI happens automatically on a locally installed Active State Perl. They wanted a way to be able to use Active State for their testing pipeline, without having to muck with path environment variables and such that would mess up the developer environment. With berrybrew use virtual_instance, the system Perl can be used for the CI runs without affecting the rest of the system.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||