Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: "chomp" not working

by JavaFan (Canon)
on May 02, 2012 at 23:45 UTC ( #968587=note: print w/ replies, xml ) Need Help??

in reply to Re^2: "chomp" not working
in thread "chomp" not working

There is a carriage return at the end of each line. @arr1 before the chomp should like like above when printed out.
You are splitting on newlines. Why do you expect them to still be there?

Comment on Re^3: "chomp" not working

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-11-25 15:28 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 (681 votes), past polls