in reply to de-referencing @$
I say unto you, verily, use strict and warnings! Had you followed this sage advice, you'd have known immediately that you had mistyped a variable name.
print Dumper $bbData; $e = $bbdata->[0]; print Dumper $e;
On the first line, you refer to $bbData (with a capital D). On the second line, you refer to $bbdata (with a lowercase D).
As to your question, you can access the element you want with $bbData->[0][0] or ${$bbData}[0][0] or $bbData->[0]->[0] or maybe a few more I'm not thinking of. I recommend the first.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: de-referencing @$
by kevind0718 (Scribe) on Sep 30, 2008 at 20:14 UTC |