Help for this page

Select Code to Download


  1. or download this
    my @really_big_array = ({fruit=>apple},{vegitable=>'lettuce'},{fruit=>
    +'oranges'},{vegitable=>'carrot'});
    
    ...
    foreach(@really_big_array) {
        push(@smaller_array,$_) if($_->{fruit} ne "");
    }