Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 musing on the Monastery: (14)
As of 2015-07-31 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls