in reply to XML log file to readable format conversion
use strict; use warnings; use Data::Dumper; use XML::Simple; my $ref = XMLin('/home/cpos/aznapi_webseald-default.log$xml'); print Dumper $ref;
See also:
UPDATE: Fixed typo in my untested code (remove $xml):
use strict; use warnings; use Data::Dumper; use XML::Simple; my $ref = XMLin('/home/cpos/aznapi_webseald-default.log'); print Dumper $ref;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML log file to readable format conversion
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 |