in reply to Slice of an array of hashes
Here is my try,
my $aref = [{DB => 'Alpha', SOURCE => 'here'}, {DB => 'Beta', SOURCE => 'there'}, {DB => 'Gamma', SOURCE => 'someplace'}]; foreach $arr (@$aref) { push @list,$arr->{DB}; } print $_."\n" for @list;
Regards,
Murugesan Kandasamy
use perl (;;);
|
|---|