Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Accessing attributes in XML::Simple

by ikegami (Pope)
on Dec 31, 2009 at 20:39 UTC ( #815123=note: print w/ replies, xml ) Need Help??


in reply to Re: Accessing attributes in XML::Simple
in thread Accessing attributes in XML::Simple

KeyAttr => 1 is wrong. The value should be an array ref or a hash ref. In this case, you want KeyAttr => []

ForceArray => 1 is overkill. ForceArray => [qw( car footnote )] would be more appropriate


Comment on Re^2: Accessing attributes in XML::Simple
Select or Download Code
Re^3: Accessing attributes in XML::Simple
by gube (Parson) on Dec 31, 2009 at 22:55 UTC

    You are right ikegami. If array ref i totally agree to you.

    Thanks,

    Gubs

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://815123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-07-12 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls