Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Fast seeking in a large array of hashes to generate a report.

by jbrugger (Parson)
on Jun 23, 2005 at 06:55 UTC ( #469303=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    @Persons = (
            place    => "place",
        }, # etc etc...
  2. or download this
      <!-- this is just one of manu expressions -->
      <expr type="match">
        <field type="equal" key="age">25</field>
        <field type="equal" key="surname">aSurName</field>
  3. or download this
    foreach $field (@Fields) { # <- age and surname in this case
       scalar(@Persons)==0 && return 0;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://469303]
Approved by Corion
Front-paged by broquaint
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-02-26 16:15 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (376 votes). Check out past polls.