Re: Need some help with XMLin



On Thu, May 29, 2008 at 12:02 AM, Vasant Kumar <vasantk@xxxxxxxxx> 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.

--
Jeff Peng - Peng.Kyo@xxxxxxxxx
Professional Squid supports in China
http://www.ChinaSquid.com/
.