News for hackers. Stuff that matters.
Re:Perl 5.30.0 documentation site by wyclif on Monday June 10, 2019 @10:22AM (#20146952)
Here's a n00b but honest question: what is the current "best practice" method of managing Perl versions on macOS? Does Perl have anything comparable to pyenv or rbenv, or do people generally use perlbrew?
Re:Perl 5.30.0 documentation site by xeeeeeeeeeeenu on Monday June 10, 2019 @10:30AM (#20147019)
There are at least two solutions, perlbrew[1] and plenv[2]. Personally, I prefer perlbrew.

[1] - https://perlbrew.pl

[2] - https://github.com/tokuhirom/plenv

Re:Perl 5.30.0 documentation site by senorsmile on Monday June 10, 2019 @10:21PM (#20152593)
I always use plenv for this.

Not specifically related to your question, but carton is also a must: https://metacpan.org/pod/Carton

Re:Perl 5.30.0 documentation site by wyclif on Tuesday June 11, 2019 @12:06PM (#20156680)
Yeah, after installing it earlier today and using it for the first time plenv makes sense to me because I'm also using shims over in pyenv- and rbenv-land, so I set it up like this:

  $ echo 'eval "$(plenv init - zsh)"' >> ~/.zshrc
There's a consistency to them all doing essentially the same thing on my rig (i.e. instead of exporting shell functions to switch PATH).
Re:Perl 5.30.0 documentation site by petre on Monday June 10, 2019 @11:27AM (#20147579)
We use plenv after trying perlbrew. It's shell based, doesn't require perl. The Perl-Build plugin does, however. It has straightforward documentation and creates shims instead of relying on aliases.
Re:Perl 5.30.0 documentation site by FRidh on Monday June 10, 2019 @11:49AM (#20147826)
Nixpkgs supports multiple versions of Perl and allows you to use them side-by-side.
Re:Perl 5.30.0 documentation site by freyfogle on Monday June 10, 2019 @10:27AM (#20146996)
perlbrew works great for me, never had a reason to seek a different solution