in reply to XML log files
use XML::Simple; my $content = do { local (*ARGV, $/); @ARGV = "mylogfile"; <> }; my $parsed_logfile = XMLin("<fake>$content</fake>", \%other_options);
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: •Re: XML log files
by dingus (Friar) on Dec 05, 2002 at 16:21 UTC |