~ubuntu-branches/ubuntu/quantal/libtemplate-perl/quantal

« back to all changes in this revision

Viewing changes to lib/Template/Manual/Plugins.pod

  • Committer: Package Import Robot
  • Author(s): Benjamin Mako Hill
  • Date: 2012-04-08 19:06:29 UTC
  • mfrom: (0.7.1) (0.5.2) (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120408190629-wbcbs2ea39mex6lt
Tags: 2.24-1
* New upstream release (Closes: #664561)
* Bump Standards-Version to 3.9.3
* Changed to the short description to mention the term "Template
  Toolkit". (LP: #688836)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    assert error - undefined value for name
46
46
 
47
 
=head2 Autoformat
48
 
 
49
 
The L<Autoformat|Template::Plugin::Autoformat> plugin is an interface to
50
 
Damian Conway's L<Text::Autoformat> Perl module which provides advanced text
51
 
wrapping and formatting. See L<Template::Plugin::Autoformat> and
52
 
L<Text::Autoformat> for further details.
53
 
 
54
 
    [% USE autoformat(left=10, right=20) %]
55
 
    [% autoformat(mytext) %]        # call autoformat sub
56
 
    [% mytext FILTER autoformat %]  # or use autoformat filter
57
 
 
58
 
The L<Text::Autoformat> module is available from CPAN:
59
 
 
60
 
    L<http://www.cpan.org/modules/by-module/Text/>
61
 
 
62
47
=head2 CGI
63
48
 
64
49
The L<CGI|Template::Plugin::CGI> plugin is a wrapper around Lincoln Stein's