in reply to Dereferencing a portion of a hash
Then you will have a simple hash reference and the arrow notation will work.report_block($report_data{$domain}{$provider}); sub report_block { my ($rpt_ref) = shift; print Dumper($rpt_ref); #access elements here! print $rpt_ref->{total}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dereferencing a portion of a hash
by THRAK (Monk) on Feb 18, 2005 at 16:37 UTC | |
by RazorbladeBidet (Friar) on Feb 18, 2005 at 16:50 UTC | |
by THRAK (Monk) on Feb 18, 2005 at 17:12 UTC | |
by RazorbladeBidet (Friar) on Feb 18, 2005 at 17:22 UTC | |
by THRAK (Monk) on Feb 18, 2005 at 18:53 UTC |