Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Strange characters encountered in refactoring perl program

by dws (Chancellor)
on Feb 17, 2005 at 06:27 UTC ( #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
Node Status?
node history
Node Type: note [id://431850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2020-10-24 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (242 votes). Check out past polls.

    Notices?