If you need to do a selective comparison, a grep after this operation works well:my @id_array = map { $_->{'ID'} } @array;
(Also, a PM hint: use <CODE> tags instead of PRE so that you can copy and paste code directly without any markup.)my @sel_id_array = grep { $_ < 30 } map { $_->{'ID'} } @array;
In reply to Re: referencing hell
by Masem
in thread referencing hell
by purge
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |