If the line is '#!/usr/bin/perl\r\n' (as it would be on a Windows box), the kernel will attempt to find a file called '/usr/bin/perl\r'.
It's a hilarious (but real) solution.
In reply to Re^2: (OT) Fixing Line Endings
by jbert
in thread (OT) Fixing Line Endings
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |