Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

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 about the Monastery: (3)
As of 2016-09-25 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (463 votes). Check out past polls.