Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Count values in a hash

by rir (Vicar)
on Jan 11, 2011 at 18:29 UTC ( #881726=note: print w/replies, xml ) Need Help??


in reply to Count values in a hash

Your line
my ($key, @val) = split /\t/, $line, 2;
is erroneous; it is creating an array with one string value containing all of $line after the first tab.

Be well,
rir

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://881726]
help
Chatterbox?
[Discipulus]: choroba thanks but that sequence uses Unicode codepoint, not ascii number
[choroba]: ASCII is subset of unicode
[1nickt]: hi trippledubs, nice to see you again.
[1nickt]: karlgoethebier that would be "trying out" German that I remember from long ago!

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-12-13 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (366 votes). Check out past polls.

    Notices?