On Mon, May 14, 2001 at 10:15:12AM +0200, Florian Petri wrote:
> Hi!
> 
> I have got a problem with perl and one skript... 
[..]
> nuntius:~/dynip-client$ ./dynip-client.pl
> bash: ./dynip-client.pl: bad interpreter: No such file or directory
[..]
> --- ./dynip-client.pl ---
> #!/usr/bin/perl

That script may be having CRLF instead of LF as line terminators.  Thus,
the interpreter it tries to load is '/usr/bin/perl\r', which naturally
doesn't exist.

Try to remove the spurious CR's from the script, for example with
"tr -d '\r' < dynip-client.pl > tmp"  If tmp is slightly smaller, there's
a good chance it'll work too ;)


-- 
Tommi Komulainen                                 [EMAIL PROTECTED]
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

Attachment: pgpelLCCLAYZw.pgp
Description: PGP signature

Reply via email to