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

FreeBSD Manual Pages

  
 
  

home | help
Test::Inline::Content(User Contributed Perl DocumentatTest::Inline::Content(3)

NAME
       Test::Inline::Content - Test::Inline 2 Content Handlers

DESCRIPTION
       One problem with	the initial versions of	Test::Inline 2 was the method
       by which	it generated the script	contents.

       "Test::Inline::Content" provides	a basic	API by which more
       sophisticated extensions	can be written to control the content of the
       generated scripts.

METHODS
   new
       A default implementation	of the "new" method is provided	that takes no
       parameters and creates a	default	(empty)	object.

       Returns a new "Test::Inline::Content" object.

   process $Inline $Script
       The "process" method does the work of generating	the script content. It
       takes as	argument the parent Test::Inline object, and the completed
       Test::Inline::Script object for which the file is to be generated.

       The default implementation returns only an empty	script that dies with
       an appropriate error message.

       Returns the content of the script as a string, or "undef" on error.

SUPPORT
       See the main SUPPORT section.

AUTHOR
       Adam Kennedy <adamk@cpan.org>, <http://ali.as/>

COPYRIGHT
       Copyright 2004 -	2013 Adam Kennedy.

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

       The full	text of	the license can	be found in the	LICENSE	file included
       with this module.

perl v5.24.1			  2013-04-09	      Test::Inline::Content(3)

NAME | DESCRIPTION | METHODS | SUPPORT | AUTHOR | COPYRIGHT

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

home | help