Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: difference between two files

by 2teez (Priest)
on Dec 19, 2013 at 14:48 UTC ( #1067826=note: print w/ replies, xml ) Need Help??


in reply to Re^2: difference between two files
in thread difference between two files

Yes Oooo, o yes, but don't you think one is cryptic enough with the given code already, than adding some more?
I think it would be better to play clean a bit some of the time.
Remove the newline character using the chomp and then re-insert when printing finally.

hdb, on a second thought, you are right. chomp here is really not useful.
Thanks, am updating my previous post.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re^3: difference between two files

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-11-22 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (123 votes), past polls