in reply to Re: matching arrays
in thread matching arrays
Do you know of an easier way rather than running your code within a foreach loop?push(@{$occurrences{$ID}}, "$term1"); push(@{$occurrences{$ID}}, "$term2");
foreach (keys (%occurrences)) { (@occurrences) = @{$occurrences{$_}}[ # Do the code you posted... } # end-foreach
|
|---|