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.
In reply to Re: Sorting on Nested Element
by TomDLux
in thread Sorting on Nested Element
by dsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |