On Monday 25 October 2004 16:49, Jenda Krynicky wrote:
> From: "Traeder, Philipp" <[EMAIL PROTECTED]>
>
> > print $ref->{'ResultItem'}->[0]{'MenuName'};
>
> I think it's better to either skip all the -> between subscriptions
> or include them all:
>
>       print $ref->{'ResultItem'}[0]{'MenuName'};
> or
>       print $ref->{'ResultItem'}->[0]->{'MenuName'};
>

You're right - I should have taken another look at this before posting.
My main focus was on pointing out XML::Simple combined with Data::Dumper -  
though this is *not* an excuse ;-).

Philipp

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to