Is it possible to use a shebang line, like #!/usr/bin/env perl, so that scripts will use the currently selected version of Perl with perlbrew? According to the help, it appears that perlbrew only changes the version for the CLI:
COMMAND: SWITCH Usage: perlbrew switch [ <name> ] Switch to the given version, and makes it the default for this and all future terminal sessions. Right now, I'm hardcoding the version of Perl in my scripts, like: #!/Users/marc/perl5/perlbrew/perls/perl-5.16.0/bin/perl but it's an inconvenience to change the shebang line in all my scripts just to try a different version. It would be nice if perlbrew took care of that as well. It seems like it should do this automatically, so maybe I don't have something set up correctly, but googling hasn't helped. Thanks, Marc -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/