in reply to perl array of hashes help
use List::Util qw(first); my @hashes = grep { first { $_ eq '1117'} @{$_->{bill}} } @array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl array of hashes help
by Anonymous Monk on May 02, 2012 at 05:24 UTC | |
by trizen (Hermit) on May 02, 2012 at 12:20 UTC | |
by ragilla (Novice) on May 07, 2013 at 04:20 UTC | |
by trizen (Hermit) on May 07, 2013 at 22:41 UTC |