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

--OutpostMir-- has asked for the wisdom of the Perl Monks concerning the following question: (cgi programming)

I think I spent god-knows how long tonight working on setting up a Perl/CGI based image gallery for my site. Saddly, I finnaly get it coded properly (ha!) and I get this error when trying to use the script:

It looks like there was an error:
Your script produced this error: (Maybe you didn't strip carriage returns after a network transfer?)

My copy of Perl (ActivePerl) doesn't seem to have any tools to strip the errant carriage returns out of my script. What am I to do?

Originally posted as a Categorized Question.