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

Re: Sorting on Nested Element

by TomDLux (Vicar)
on Sep 30, 2011 at 18:34 UTC ( #928894=note: print w/ replies, xml ) Need Help??


in reply to Sorting on Nested Element

push @$sorted, $data->{Elements}{$_} for @pri;

Some people recommend using curly braces with dual sigils. I certainly do that with more complicated ones, but I feels it's simple enough when you say, "Take this scalar and access the array ( or hash ) it references".

As Occam said: Entia non sunt multiplicanda praeter necessitatem.


Comment on Re: Sorting on Nested Element
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-04 07:19 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 (58 votes), past polls