Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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>
      </expr>
    
  3. or download this
    foreach $field (@Fields) { # <- age and surname in this case
       scalar(@Persons)==0 && return 0;
    ...
       }
    }
    #return...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://469303]
Approved by Corion
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-06 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls