Try:
Update: A somewhat more advanced approach: (Assuming %h is the outside hash)# Assuming your outside hash is named %h, print $h{main_data}[1]{AMOUNT} . "\n";
for (map {@$_} values %h){ print "Account " . $_->{ACCOUNT} . " AMOUNT: " if exists $_->{ACCOUN +T}; next unless exists $_->{AMOUNT}; print $_->{AMOUNT} . "\n"; } # --- Output --- # Account 6510334 AMOUNT: 200.00 # Account 6510334 AMOUNT: 0.00
Have you been high today? I see the nuns are gay! My brother yelled to me...I love you inside Ed - Benny Lava, by Buffalax
In reply to Re: Hash Problem!
by NetWallah
in thread Hash Problem!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |