[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stupid shebang tricks



On 11-May-2005, Joey Hess wrote:
> Ben Finney wrote:
> > That would be a downside (and kills it for the primary use I had in
> > mind, '#!/usr/bin/env perl -w').
> 
> Of course "#!/usr/bin/env perl\nuse warnings;" is equivilant.

Ah, I think I see; you're suggesting to use the following script
header:

=====
#!/usr/bin/env perl
use warnings;
=====

-- 
 \                 "He who laughs last, thinks slowest."  -- Anonymous |
  `\                                                                   |
_o__)                                                                  |
Ben Finney <ben@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature


Reply to: