23 Jan 2021 22:44:04 UTC
- Distribution: Test-Inline
- Module version: 2.214
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (21)
- Testers (241 / 6 / 0)
- KwaliteeBus factor: 1
- 80.03% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (58.99KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userETHER Karen Etheridge 🐾 🌋🦑🇹🇼🇭🇰
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Take me over?The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.
Test::Inline::Content - Test::Inline 2 Content Handlers
One problem with the initial versions of Test::Inline 2 was the method by which it generated the script contents.
Test::Inline::Contentprovides a basic API by which more sophisticated extensions can be written to control the content of the generated scripts.
A default implementation of the
newmethod is provided that takes no parameters and creates a default (empty) object.
Returns a new
processmethod 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
See the main SUPPORT section.
Adam Kennedy <firstname.lastname@example.org>
This software is copyright (c) 2003 by Adam Kennedy.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.