Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2016-02-11 23:35 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (383 votes), past polls