ETOOBUSY 🚀 minimal blogging for the impatient
An addition to A cheap trick to manipulate PERL5LIB.
In A cheap trick to manipulate PERL5LIB, from a long time ago, we saw
a way to generalize setting the
PERL5LIB variable and reuse this
The approach works fine when stuff is installed in a specific directory,
which is usually the
bin directory in a
local installation of modules.
This worked very good for applications that are available as, or in,
Which led me to an additional trick that made the whole thing cheaper:
cpanfile. So I have a
perl-tools directory, with a
inside, and a short script to update the installation every time I want to
install something more:
#!/bin/sh md="$(dirname "$(readlink -f "$0")")" cd "$md" PATH="$md/perl/bin:$PATH" PERL5LIB="$PERL5LIB:." "./carton-static"