in reply to Re^4: What is -w?
in thread What is -w?
... all my other scripts work just fine. No line ending issues.
You need to focus your attention not on the scripts that work ok, but on the one that does not. In particular, and as suggested by Corion's post, I would look at a hex dump of the offending source file and compare it against other, well-behaved script files with an eye to line-ender infelicities.
And just to echo hippo's good advice while I'm at it, I would enable warnings (and strictures as well; see strict), although perhaps not globally but only locally, and clean up the problems exposed thereby.
Give a man a fish: <%-{-{-{-<
|
|---|