in reply to Re^3: Why is lib/perl5 not added to INC for perls installed using perlbrew
in thread Why is lib/perl5 not added to INC for perls installed using perlbrew
"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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Why is lib/perl5 not added to INC for perls installed using perlbrew
by tobyink (Canon) on Sep 14, 2020 at 08:21 UTC | |
|
Re^5: Why is lib/perl5 not added to INC for perls installed using perlbrew
by afoken (Chancellor) on Sep 14, 2020 at 13:03 UTC |