I have a array reference which has some number of array references inside it. The nested array references also contains the array references. (This is the tree style of XML::Parser.)
my $Filename = "sample.xml";
my $Parser = new XML::Parser( Style => 'tree' );
my $Tree = $Parser->parsefile( $Filename );
Here the $Tree
is the array reference it will be array reference , the contents and the nested depth all depends on the xml file. I want to traverse through the nested array $Tree
and print the contents.