Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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
Replies are listed 'Best First'.
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 musing on the Monastery: (7)
As of 2015-07-08 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls