Le 24 janv. 2011 à 22:11, Guillaume Brunerie a écrit :
2011/1/24 zzapper<david@xxxxxxxxxx>
Hi
Until now I've been writing zsh wrappers for my perl scripts:-
I've got
alias -s pl=perl
So I can execute a script just by typing its name
/usr/local/bin/info.pl
Hi,
Why not putting #!/usr/bin/perl as the first line of your perl scripts?
This is not portable.
BeOS and Haiku do not have /usr for ex, so perl is elsewhere.
(and so is env, so using #!/usr/bin/env perl is just moving the problem around)
François.