We use a free editor, Metapad Lite 
(http://www.liquidninja.com/metapad/download.html). This enables you to save 
files as DOS Text (CR+LF), Unix Text (LF), Unicode or Unicode (Big Endian).
Are you sure the CRs are the problem?

Phil Brewer
Trivex Systems
  ----- Original Message ----- 
  From: Chris Rodriguez 
  To: [EMAIL PROTECTED] 
  Sent: Monday, June 25, 2007 9:40 PM
  Subject: control M's


  Hi everyone,
  I wrote a cgi script in PERL which won't execute.  I'm told it's because I 
have control M's at the end of each line, and that this happens when editing 
programs in Windows (which I do, with Notepad).  I found a free program on the 
web (http://www.scriptarchive.com/scripts/snippets/rm_cont_m.pl) which claims 
to remove them.  I ran it and uploaded the new program, but it still doesn't 
work.  It may be that there's another problem with the script, then again, 
maybe the control M's are still there.  I'd like to rule out the latter.  Can 
anyone advise me on dealing with this?  How can I remove them?  How can I tell 
if they're there or not?  How can I type up a script so that they never appear 
in the first place, etc.?

  Thank you,
  Chris



------------------------------------------------------------------------------
  Boardwalk for $500? In 2007? Ha! 
  Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.


------------------------------------------------------------------------------


  _______________________________________________
  Perl-Win32-Users mailing list
  [email protected]
  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to