tousifp has asked for the wisdom of the Perl Monks concerning the following question:
Guys, Here is my code :
use strict; use warnings; use Data::Dumper; use XML::Simple; $/=undef; open ('handle', "/home/cpos/aznapi_webseald-default.log") or die ("can +not open file : $!"); my $xml = <handle>; my $ref = XMLin $xml; print Dumper $ref; close "handle";
Want to read the XML file "aznapi_webseald-default.log" and convert it.
Please help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML log file to readable format conversion
by toolic (Bishop) on Jan 15, 2014 at 14:59 UTC | |
by tousifp (Novice) on Jan 15, 2014 at 16:00 UTC | |
by choroba (Cardinal) on Jan 15, 2014 at 16:05 UTC | |
by Jenda (Abbot) on Jan 20, 2014 at 15:08 UTC | |
by toolic (Bishop) on Jan 15, 2014 at 16:05 UTC |