in reply to
Don't want to have to use -w
I think you'll find it is a problem with line endings and if you upload the script in ASCII (if you are uploading with ftp) it will work fine.
Comment on
Re: Don't want to have to use -w
In Section
Seekers of Perl Wisdom