You make a good point. Writing the map like this removes those empty strings from the result:
map { $_->{ID} == 32 ? $_->{State} : () }
-- Ken
In reply to Re^3: accessing data in hash
by kcott
in thread accessing data in hash
by ccfc1986
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |