Closed sputnick-dev closed 1 year ago
Then if I run a script that depends on this module I get:
Is the shbang (the very first line) of the script #!/usr/bin/perl
? If that's the case that script would always be ran by /usr/bin/perl
instead of whatever perl managed by perlbrew.
You could try changing the shbang to be #!/usr/bin/env perl
-- this makes it ran by env
that env
picks up whatever perl in $PATH
and hopefully that'd be the right one managed by perlbrew.
Hey, makes sense!
Thanks
(all is up2date)
Then if I run a script that depends on this module I get:
As a workaround, I can run successfully my script if I run before:
perlbrew info
Any clue?