Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Unbelievably Obvious Debugging Tip

by etcshadow (Priest)
on Apr 28, 2004 at 02:13 UTC ( #348683=note: print w/ replies, xml ) Need Help??

in reply to Unbelievably Obvious Debugging Tip

In my shell, I just drag my mouse over potential whitespace... if it highlights, then it is whitespace, otherwise not.

Also, if I'm examining output, I'll pipe it into vi - (rather than more or less), where, again, trailing whitespace is distinguishible in various ways.

It's personal style, I guess.

One last thing... if you've got two strings showing as different even though they look, by visual examination, the same... the very first thing you should be doing is a character-by-character diff (many different ways of accomplishing this) and/or looking at them in a hex dump. That's just common sense.

------------ :Wq Not an editor command: Wq

Comment on Re: Unbelievably Obvious Debugging Tip
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2015-11-27 14:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (730 votes), past polls