Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: can't use certain hashnames when traversing a slightly complex hash

by gideondsouza (Pilgrim)
on Jan 06, 2013 at 15:46 UTC ( #1011894=note: print w/ replies, xml ) Need Help??


in reply to Re: can't use certain hashnames when traversing a slightly complex hash
in thread can't use certain hashnames when traversing a slightly complex hash

Yep, it's all good. I simplified the code and the hash while posting.

I'm always interested in the first entry of the files sub-hash. (The rest are forks of the original Github gist.)

Thanks for looking out :)


Comment on Re^2: can't use certain hashnames when traversing a slightly complex hash
Re^3: can't use certain hashnames when traversing a slightly complex hash
by AnomalousMonk (Abbot) on Jan 06, 2013 at 16:19 UTC
    I'm always interested in the first entry of the files sub-hash.

    Hmmm...     Again, and just for the record, the  'files' sub-hash (or any hash) can be said to have a 'first' element if and only if it has exactly one element. The only true ordering in a hash (or associative array) is the association between key/value pairs.

      Ohh ..I understand what you mean now!!!

      Seems github doesn't mentioned specifically whether or files will contain one or more entries. I've emailed them to find out....

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2014-09-19 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls