On Tue, 2004-03-30 at 13:47, Mary Gardiner wrote:
> Hi folks,
> 
> I'm accustomed to starting my various Python and Perl files with:
> 
> #!/usr/bin/env python
> 
> or
> 
> #!/usr/bin/env perl
> 
> to deal with the situation where the python or perl binary lives in
> different places on different systems (please don't reply suggesting I
> just move it or just install Debian or something, some of us still work
> in archaic environments where we don't have root on servers we use!!!!)
> 
> However, you can't pass arguments to whatever you're invoking, thanks to
> the limits of the #! interpretion ("#!/usr/bin/env perl -w" at the top
> of a file causes a search for a binary named "perl -w"). 

Are you sure? env --help suggests that it doesn't.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to