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


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 exploiting the Monastery: (11)
As of 2014-12-22 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (113 votes), past polls