The keys themselves are hashrefs. So if I wanted to extract the value of the key 'domain' which is part of the key 'by' from the parse_tree, how would I write the correct syntax and when do I use '%' vs. '$'? Thanks.# $string contains the 'Received' header my $received = Mail::Field->new('Received',$string); my $parse_tree = $received->parse_tree(); my $by = $parse_tree{'by'}; my $domain = $by{'domain'};
In reply to Brief Hash Tutorial by gw1500se
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |