Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: mathematical proof

by kyle (Abbot)
on Feb 03, 2009 at 13:15 UTC ( [id://740981] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ( grep { filter($_) } @big_array ) {
        # do stuff
    }
    
  2. or download this
    for ( @big_array ) {
        next if ! filter($_);
        # do stuff
    }