Test::Parser::Dbt2.3pm

Langue: en

Version: 2008-02-27 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Test::Parser::Dbt2 - Perl module to parse output files from a DBT-2 test run.

SYNOPSIS

  use Test::Parser::Dbt2;
 
  my $parser = new Test::Parser::Dbt2;
  $parser->parse($text);
 
 

DESCRIPTION

This module transforms DBT-2 output into a hash that can be used to generate XML.

FUNCTIONS

Also see Test::Parser for functions available from the base class.

new()

Creates a new Test::Parser::Dbt2 instance. Also calls the Test::Parser base class' new() routine. Takes no arguments.

data()

Returns a hash representation of the dbt2 data.

Override of Test::Parser's default parse() routine to make it able to parse dbt2 output. Support only reading from a file until a better parsing algorithm comes along.

to_xml()

Returns sar data transformed into XML.

AUTHOR

Mark Wong <markwkm@gmail.com>

September 2006 - response time sort to use numeric sort not ascii - 90th percentile sort to use numeric sort Richard Kennedy EnterpriseDB

Copyright (C) 2006-2008 Mark Wong & Open Source Development Labs, Inc. All Rights Reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Test::Parser

POD ERRORS

Hey! The above document had some coding errors, which are explained below:
Around line 568:
'=end' without a target?