in reply to Parsing STDOUT ?

Purely as a matter of curiosity, why not use the example in the man-page? Once you have it in the file, use your XML took-kit of choice to rock'n'roll.
$rrd->dump() Available as of rrdtool 1.0.49. Dumps the RRD in XML format to STDOUT. If you want to dump it into + a file instead, do this: my $pid; unless ($pid = open DUMP, "-|") { die "Can't fork: $!" unless defined $pid; $rrd->dump(); exit 0; } waitpid($pid, 0); open OUT, ">out"; print OUT $_ for <DUMP>; close OUT;

----
I Go Back to Sleep, Now.

OGB