Test::Inline::Content(3pm)

Test::Inline::Content3pm

Test::inline 2 content handlers

Version

version 2.214

Overview

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.

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Inline> (or [email protected] <mailto:[email protected]>).

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11–13

Author

Adam Kennedy <[email protected]>

From libtest-inline-perl 2.214-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.