Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

test::inline::content(3pm) [debian man page]

Test::Inline::Content(3pm)				User Contributed Perl Documentation				Test::Inline::Content(3pm)

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 - 2010 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.12.4 2010-11-22 Test::Inline::Content(3pm)

Check Out this Related Man Page

Inline::Wrapper::Module(3)				User Contributed Perl Documentation				Inline::Wrapper::Module(3)

NAME
Inline::Wrapper::Module - Internal object wrapper for individual Inline modules. SYNOPSIS
use Inline::Wrapper::Module; DESCRIPTION
Inline::Wrapper::Module is used internally by Inline::Wrapper, and should not be used directly. It will croak if you attempt to do so. It is a descendent class of Inline::Wrapper. METHODS
new() Takes the same arguments as "new()" in Inline::Wrapper, but also requires a module_name and lang_ext argument. Don't use this. It will croak if you try to use it directly. initialize() Initialize the object instance. DESTROY() Destructor to clean up the object instance, and wipe the private code module namespace created when binding the symbol list. INHERITANCE
As Inline::Wrapper::Module is an inherited class from Inline::Wrapper, all methods that apply to the base class also apply to objects of this class. However, note that this has the following effects, due to the semantics of the load()/run() steps: auto_reload settings vs. when method effects take place: auto_reload value: | FALSE TRUE --------------------+------------------------------------------ set_base_dir() | no effect after next reload / run() set_language() | no effect after next reload / run() add_language() | no effect after next reload / run() Please read through "load()" in Inline::Wrapper and "run()" in Inline::Wrapper for insight into why the implementation works like this. SEE ALSO
Inline::Wrapper The Inline documentation. The Inline-FAQ list. The examples/ directory of this module's distribution. AUTHOR
Please kindly read through this documentation and the examples/ thoroughly, before emailing me with questions. Your answer is likely in here. Also make sure that your issue is actually with the Inline::Wrapper modules, and not with Inline itself. Jason McManus (INFIDEL) -- "infidel AT cpan.org" LICENSE
Copyright (c) Jason McManus This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details. perl v5.18.2 2010-03-10 Inline::Wrapper::Module(3)
Man Page