• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Grabbing elements from hash array in order of stated priority

Example....

%set = (

      'PRIORITYA~~ELEMENT-KEY' =>     'ELEMENT-VALUE',
      'PRIORITYB~~ELEMENT-KEY' =>     'ELEMENT-VALUE'

);      

      
0
eroute
Asked:
eroute
1 Solution
 
ozoCommented:
print "$_ => $set{$_}\n" for sort keys %set ;
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now