in reply to File::HomeDir strange behavior Perl 5.28

A new berrybrew feature, to allow user to use either the Portable or Windows version of File::HomeDir has been implemented in the 1.24 branch, and will become available for production use after its release (a couple weeks from now).

Currently, it's a global config file bool directive ("windows_homedir" : "false"), and the default is to use the portable version. Setting that directive to "true" will essentially revert back to the Windows functionality.

berrybrew install $version will pick up on the directive on each run. If the var is toggled between Perl instance installs, each perl will act accordingly. It's a non-reversible action, so to get the default functionality restored, berrybrew remove that instance, change the config directive, and berrybrew install it again.

I don't really like the idea of having a separate command flag just for this, so I may add in the ability to send an env var as the flag, but I'm not certain yet.