Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by AnomalousMonk (Canon)
on Jan 06, 2013 at 16:19 UTC ( #1011898=note: print w/replies, xml ) Need Help??


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

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.

  • Comment on Re^3: can't use certain hashnames when traversing a slightly complex hash
  • Download Code

Replies are listed 'Best First'.
Re^4: can't use certain hashnames when traversing a slightly complex hash
by gideondsouza (Pilgrim) on Jan 07, 2013 at 05:49 UTC

    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://1011898]
help
Chatterbox?
[shmem]: karlgoethebier: of course
[shmem]: has there been any single day where nothing went wrong? not in my memory
[shmem]: discovered a fuel tank leakage at my second hand motorbike. Some bloke drove a screw too long through the fairing
[shmem]: hard to fix, and plans wrecked. And more... won't tell.
[shmem]: the leakage has been "fixed" with a piece of bycicle tube. Bleargh.
[karlgoethebier]: shmem: yes. my first ride tomorrow is questionable because of lumbago. shit
[shmem]: But! the bloke wasn't me, at least.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-06-25 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (570 votes). Check out past polls.