Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Strange characters encountered in refactoring perl program

by dws (Chancellor)
on Feb 17, 2005 at 06:27 UTC ( [id://431850]=note: print w/replies, xml ) Need Help??


in reply to Strange characters encountered in refactoring perl program

I've dealt with CRLF problems before, but what kind of control characters are these (if that's what they are), and why is it that I could only find them using the perl debugger?

You have encountered CRLF in one of their many disguises. \cM is ^M is <CR>, and \cJ is ^J is <LF>.

As to why you're not seeing them in your editor, I dunno. Does your editor have a setting for showing control characters?

  • Comment on Re: Strange characters encountered in refactoring perl program

Replies are listed 'Best First'.
Re^2: Strange characters encountered in refactoring perl program
by redhotpenguin (Deacon) on Feb 17, 2005 at 07:13 UTC
    Thanks for responding. vim -b did the trick. The strange behavior from Pod::Usage threw me for a loop. I've gotten used to <CR>'s in their \r form.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://431850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-19 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found