Re: about perl5.002
Jim Anderson (jander@lehman.com)
Tue, 27 Aug 1996 11:30:18 -0400
> 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
> then I chmod a+x the perl program
> .The program can not work ,and the message is no command found !!
> So I use
> #!perl
> it can work!!
> Why?
> Thanks!!
You're most likely being bitten by the infamous "32-byte limit":
'#!/home/u2/stutest/local/bin/perl' is 33 bytes long!
--
Jim Anderson Phone: (201) 524-4206
Lehman Brothers, Inc. Fax: (201) 524-5828
101 Hudson Street, 38th Floor E-mail: jander@lehman.com
Jersey City, NJ 07302 jander@jander.com