Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^7: Perl Hashes, keys under keys (I think)?

by mmartin (Monk)
on Sep 22, 2011 at 16:11 UTC ( #927413=note: print w/replies, xml ) Need Help??


in reply to Re^6: Perl Hashes, keys under keys (I think)?
in thread Perl Hashes, keys under keys (I think)?


Hey hbm,

Ok... So I think I figuerd it out.

Instead of this --> length($rec3) I tried using this --> length($records{ $rec1 }{ $rec2 }{ $rec3 })
And it seems like its working now!

I took me a little bit but finally realized that, length($rec3), was giving me the length of the key and not the value.


Thanks,
Matt


.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927413]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-08-17 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (282 votes). Check out past polls.

    Notices?