Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Chomp doesn't work

by daxim (Chaplain)
on Mar 25, 2013 at 08:59 UTC ( #1025258=note: print w/ replies, xml ) Need Help??


in reply to Chomp doesn't work

chomp @data_usr; works for me. Look at your data with a hex viewer or uniquote.

$ hex test/test.txt
0000  31 39 39 38 2e 30 33 2e  32 35 2e 30 31 0a 31 39  1998.03.25.01␊19
0010  39 39 2e 31 30 2e 30 31  2e 30 31 0a 50 61 72 61  99.10.01.01␊Para
0020  6d 65 74 65 72 20 31 0a  50 61 72 61 6d 65 74 65  meter 1␊Paramete
0030  72 20 32 0a                                       r 2␊


Comment on Re: Chomp doesn't work

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-09-16 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (13 votes), past polls