"Such that I can have my scripts work seamlessly by just pointing the shebang to the perl bin. E.g. $PERLBREW_ROOT/perls/perl-5.32.0/bin/perl in this case."
I start all of my scripts with the following shebang. This includes those I write for myself, scripts I post here, and those I write for work in a production environment.
#!/usr/bin/env perl
That may work for you also. See perlrun for more details about this.
— Ken
In reply to Re^4: Why is lib/perl5 not added to INC for perls installed using perlbrew
by kcott
in thread Why is lib/perl5 not added to INC for perls installed using perlbrew
by areldy_exten
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |