John Doe wrote:
> ...
> When i run script i recive error:
> # ./check-size.pl
> > bad interpreter: No such file or directory

This can be caused by the file containing DOS-style line endings. If the
first line is:

   #!/usr/bin/perl<CR><LF>

the kernel will include the <CR> as part of the file name and try to execute
"/usr/bin/perl<CR>", and will report that no such file exists.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to