On Thu, May 29, 2008 at 12:02 AM, Vasant Kumar <[EMAIL PROTECTED]> wrote:
>
> $VAR1 = { B => { C => [ {1}, {2}. {3} ]}
>
> Now accessing B is no problem, but I want to access the values in C..
Hello,
$VAR1->{B}->{C}->[0];
will get the first element of the anonymous array whose KEY is C.
--
Jef
Hi,
I'm using PERL for the first time, and I need to parse an XML
Document.
Essentially we have a file that's structures like this
now when I do something like
$data = XMLin($XML, forcearray => ["C"]);
It has something similar to
$VAR1 = { B => { C => [ {1}, {2}. {3} ]}
Now accessin