Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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


.


Comment on Re^7: Perl Hashes, keys under keys (I think)?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2015-07-06 15:28 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 (77 votes), past polls