Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Test::Parser::PgOptionUser Contributed Perl DocumentTest::Parser::PgOptions(3)

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

SYNOPSIS
	use Test::Parser::PgOptions;

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

DESCRIPTION
       This module transforms pgoption 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::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
       Mark Wong <markwkm@gmail.com>

COPYRIGHT
       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 140:
	   '=end' without a target?

perl v5.32.0			  2008-02-27	    Test::Parser::PgOptions(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | COPYRIGHT | SEE ALSO | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Test::Parser::PgOptions&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help