Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Is there any XML reader like this?

by ashok.g (Beadle)
on Jan 15, 2012 at 14:57 UTC ( #947997=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Is there any XML reader like this?
in thread Is there any XML reader like this?

Getting the following errorNot an ARRAY reference at ProcessStatus.pl line 44. when I have this option that will have stations mixed like:

<station20> <user>netcool</user> <process assignment="temporary">some text</process> </station20> <station19> <user>netcool</user> <process>nco_objserv</process> <process>nco_p_mttrapd</process> </station19>

Code snippet....
my $xml = XMLin("PROCESS.CONF"); ...... foreach $process ( @{ $xml->{$server}{process} } ) .....
Anything missing here?

Thanks,
Ashok


Comment on Re^4: Is there any XML reader like this?
Select or Download Code
Replies are listed 'Best First'.
Re^5: Is there any XML reader like this?
by Corion (Pope) on Jan 19, 2012 at 14:49 UTC
      Thanks.
      I will work on this and update you.
Re^5: Is there any XML reader like this?
by ashok.g (Beadle) on Jan 19, 2012 at 14:01 UTC
    Appreciate any help here!

    Thanks,
    Ashok

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-07-31 06:00 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 (274 votes), past polls