Secondly, there are about 200 CGI scripts mostly in Perl, and each with a #!/usr/bin/perl shebang line
find ... -name '*.cgi' -type f \ -exec perl -pe's{^#!.*?/perl}{#!/.../perl} if $. == 1' -i~ {} \;
In reply to Re: How to run a legacy perl version smoothly from perlbrew & Carton
by ikegami
in thread How to run a legacy perl version smoothly from perlbrew & Carton
by chrestomanci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |