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

Re: #!/Perl question



Manoj Srivastava wrote:
>  Joey> eval 'exec perl -S $0 ${1+"$@"}'
>  Joey>         if 0;
> 	
>         The following works under more shells (and also is a man page ;-)
> #!/usr/bin/perl     -- # -*- Mode: Perl -*- #

Yes, but it doesn't address the orginial problem: It will fail if perl is
not in /usr/bin.

Still a truly frightning script. Thank goodness we have pod now. :-)

-- 
see shy jo


Reply to: