Help for this page

Select Code to Download


  1. or download this
    my %hash;
    foreach my $val(@array){
       push @{$hash{$val}}, database_call($val)
    }
    
  2. or download this
    foreach(@{$hash{$val}}){
       print $_
    }
    #to find a particular item in a particular array
    print $hash{$val}[$arrayid]