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