Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by ashok.g (Beadle)
on Jan 15, 2012 at 14:57 UTC ( [id://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

Replies are listed 'Best First'.
Re^5: Is there any XML reader like this?
by Corion (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://947997]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-24 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found