On Thursday, August 15, 2002, at 07:53  AM, drieux wrote:
> This approach also saves on the problem of using scripts that
> were originally rigged with
>
>       #!/usr/bin/perl
>       #!/usr/local/bin/perl
>

Python programmers use this a lot, but it works equally well with Perl:

#!/usr/bin/env perl

It assumes that /usr/bin/env is more likely to be found in that 
place than perl. Of course it's /bin/env on linux, something else 
on OSX ,etc.etc.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]


Reply via email to