Test::Inline::Content::Simple man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Test::Inline::Content:UserpContributed Perl DoTest::Inline::Content::Simple(3)

NAME
       Test::Inline::Content::Simple - Simple templating Content Handler

SYNOPSIS
	 In your inline2test.tpl
	 ----------------------
	 #!/usr/bin/perl -w

	 use strict;
	 use Test::More [% plan %];
	 $| = 1;

	 [% tests %]

	 1;

DESCRIPTION
       It is relatively common to want to customise the contents of the
       generated test files to set up custom environment things on an all-
       scripts basis, rather than file by file (using =begin SETUP blocks).

       "Test::Inline::Content::Simple" lets you use a very simple Template
       Toolkit style template to define this information.

       It contains only two tags, "plan" and "tests".

       The "plan" tag will be inserted as either "tests =" 123> or 'no_plan'.

       The "tests" tag will be replaced by the actual testing code.

METHODS
   new $filename
       Manually create a new "Test::Inline::Content::Simple" object. Takes as
       parameter a single filename which should contain the template code.

       Returns a new "Test::Inline::Content::Simple" object, or "undef" on
       error.

   template
       The "template" accessor returns the template content for the object

   process $Inline, $Script
       The "process" method is unchanged from "Test::Inline::Content".

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.14.1			  2010-11-22  Test::Inline::Content::Simple(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net