Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[choroba]: we'd need video calls more often :)
[Discipulus]: i still suspect english has some logical 'curvature/ crookedness' that has and will have a big impact over programming
[Discipulus]: if you refere to gestures ++choroba
Discipulus still has problem with 'until' beyond simplest cases
[choroba]: ;-)
[Discipulus]: and larry studied natural languages too
[choroba]: Czechs have problems with unless
[Lady_Aleena]: Are you all sick of me discussing my reorganization?
[Discipulus]: Untillian Headache or about the semantic of until

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-05-27 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?