Re: about perl5.002
Nick Ing-Simmons (nik@tiuk.ti.com)
Wed, 28 Aug 1996 08:06:58 +0100
Jean-Dean Pan Group <jdpan@pine.iecs.fcu.edu.tw> writes:
>Hi. I install perl5.002 in my home directory !I write a perl program
>. The first line in my program are
> #!/home/u2/stutest/local/bin/perl
1 2 3
123456789012345678901234567890123
> then I chmod a+x the perl program
> .The program can not work ,and the message is no command found !!
Some version of unix (e.g. SunOS4) limit length of string
at start of script to 32 characters - yours is 33.
E.g. if you had chosen 'loc' instead of 'local' it would have worked!
> So I use
> #!perl
>it can work!!
>Why?
> Thanks!!
>
>-----------------------------------------------------------------
>e-mail:jdpan@pine.iecs.fcu.edu.tw