Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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: (7)
As of 2014-11-27 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (188 votes), past polls