toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

218
active users

#plenv

0 posts0 participants0 posts today
Mark Gardner<p><span class="h-card" translate="no"><a href="https://mstdn.science/@ChristosArgyrop" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ChristosArgyrop</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@leonerd" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>leonerd</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.green/@pjakobs" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pjakobs</span></a></span> #!/usr/bin/env perl</p><p>is the typical way to call whatever <a href="https://social.sdf.org/tags/perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perl</span></a> happens to be first in your environment's path</p><p>The nice thing about <a href="https://social.sdf.org/tags/asdf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>asdf</span></a> is it reads a `.tool-versions` file in a given project's directory and will use the specified perl, ruby, node, whatever version via its shim scripts: <a href="https://asdf-vm.com/guide/getting-started.html#_6-set-a-version" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">asdf-vm.com/guide/getting-star</span><span class="invisible">ted.html#_6-set-a-version</span></a></p><p>I used to use <a href="https://social.sdf.org/tags/plenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plenv</span></a>, which is like <a href="https://social.sdf.org/tags/perlbrew" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perlbrew</span></a> plus asdf but for Perl only: <a href="https://github.com/tokuhirom/plenv" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/tokuhirom/plenv</span><span class="invisible"></span></a></p>
Mark Gardner<p><span class="h-card" translate="no"><a href="https://indieweb.social/@funkatron" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>funkatron</span></a></span><br><span class="h-card" translate="no"><a href="https://chirp.social/@Perl" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Perl</span></a></span> Someday I should write up how I manage <a href="https://social.sdf.org/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> projects with <a href="https://social.sdf.org/tags/asdf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>asdf</span></a> and <a href="https://social.sdf.org/tags/direnv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>direnv</span></a>. Everyone talks about <a href="https://social.sdf.org/tags/perlbrew" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perlbrew</span></a> and sometimes <a href="https://social.sdf.org/tags/plenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plenv</span></a>, but it’s nice to have a single way to manage local project environments for any <a href="https://social.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> language, especially when the project has a stack of languages and runtimes that you want to specify in one place.</p>
Mark Gardner<p><span class="h-card"><a href="https://home.social/@lolzac" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>lolzac</span></a></span> <span class="h-card"><a href="https://phpc.social/@ramsey" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ramsey</span></a></span> <span class="h-card"><a href="https://mastodon.social/@dmnelson" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dmnelson</span></a></span> <span class="h-card"><a href="https://mastodon.social/@scriptingosx" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>scriptingosx</span></a></span> Oddly, <a href="https://social.sdf.org/tags/Apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apple</span></a> has not been terrible in keeping <a href="https://social.sdf.org/tags/perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perl</span></a> somewhat recent on <a href="https://social.sdf.org/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a>: <a href="https://social.sdf.org/tags/Ventura" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ventura</span></a> ships with v5.30.3 from 2020. </p><p>But most advise not messing with an OS or distro’s system runtimes, especially if you want to install or upgrade libraries and modules from <a href="https://social.sdf.org/tags/CPAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPAN</span></a> etc.</p><p>The two main Perl solutions are <a href="https://social.sdf.org/tags/perlbrew" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perlbrew</span></a>: <a href="http://perlbrew.pl" rel="nofollow noopener" target="_blank"><span class="invisible">http://</span><span class="">perlbrew.pl</span><span class="invisible"></span></a></p><p>And <a href="https://social.sdf.org/tags/plenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plenv</span></a> (used to be my fave): <a href="https://github.com/tokuhirom/plenv" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">github.com/tokuhirom/plenv</span><span class="invisible"></span></a></p>