Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: chomp() is confusing

by jesuashok (Curate)
on May 15, 2006 at 08:13 UTC ( [id://549393]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $one = "Hello\r\n";
    
    ...
    chomp($one);
    
    print "After Chomp" , length($one) , "\n";
    
  2. or download this
    Before chomp 7
    After Chomp 6
    

Log In?
Username:
Password:

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

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

    No recent polls found