Test::Parser::PgOptions - Perl module to parse output from pgoption.


Test-Parser documentation  | view source Contained in the Test-Parser distribution.

Index


NAME

Top

Test::Parser::PgOptions - Perl module to parse output from pgoption.

SYNOPSIS

Top

 use Test::Parser::PgOptions;

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

DESCRIPTION

Top

This module transforms pgoption output into a hash that can be used to generate XML.

FUNCTIONS

Top

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

new()

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

data()

Returns a hash representation of the pgoption data.

Override of Test::Parser's default parse_line() routine to make it able to parse pgoption output.

to_xml()

Returns pgoption data transformed into XML.

AUTHOR

Top

Mark Wong <markwkm@gmail.com>

COPYRIGHT

Top

SEE ALSO

Top

Test::Parser


Test-Parser documentation  | view source Contained in the Test-Parser distribution.