There's more than one way to do things | |
PerlMonks |
Re: understanding XML::Parserby Thelonius (Priest) |
on Jul 17, 2006 at 05:57 UTC ( [id://561671]=note: print w/replies, xml ) | Need Help?? |
When I use strict; I get the error Global symbol "@tree" requires explicit package name. This is a good clue.
When I change to everything works. $tree[0] is the zero'th element of @tree. $tree->[0] is the zero'th element of tree that is referenced by $tree.
In Section
Seekers of Perl Wisdom
|
|