http://www.perlmonks.org?node_id=468952


in reply to /usr/bin/perl -w?

Check you shebang(#!) line. You probably have ^M or some other unprintable character there.

Replies are listed 'Best First'.
Re^2: /usr/bin/perl -w?
by biochris (Beadle) on Jun 23, 2005 at 20:50 UTC
    Yep, that was the problem. Thanks