Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Code Interpretation

by davido (Cardinal)
on Jul 28, 2014 at 16:33 UTC ( [id://1095387]=note: print w/replies, xml ) Need Help??


in reply to Code Interpretation

Presumably the %uni_refs hash's values correspond to indices that should exist within @allrefs. So the values are sorted in ascending order forming a list of indices desired. Then they are used to take a slice of @allrefs, in that order.

Seems like a pretty useful way to grab the wanted elements in a desired order, allowing for duplicates and skips as needed.


Dave

Replies are listed 'Best First'.
Re^2: Code Interpretation
by Perl_Ally (Novice) on Aug 22, 2014 at 16:26 UTC

    Thanks Dave - this is a great "layman's terms" interpretation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found