in reply to redudent hash
You don't actually need the @keys array, but it makes the code easier to read.my @keys = grep /.*?\.oracle.*?$/, keys %$HR_Cwnt; delete @$HR_Cwnt{@keys};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: redudent hash
by markkawika (Monk) on Jun 22, 2009 at 16:53 UTC |