| Catalyst-Plugin-Textile documentation | Contained in the Catalyst-Plugin-Textile distribution. |
Catalyst::Plugin::Textile - Textile for Catalyst
# include it in plugin list
use Catalyst qw/Textile/;
my $html = $c->textile->process($text);
Persistent Textile processor for Catalyst.
Returns a ready to use Text::Textile object.
Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper, Text::Textile
Sebastian Riedel, sri@oook.de
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
| Catalyst-Plugin-Textile documentation | Contained in the Catalyst-Plugin-Textile distribution. |
package Catalyst::Plugin::Textile; use strict; use base 'Class::Data::Inheritable'; use Text::Textile; our $VERSION = '0.01'; __PACKAGE__->mk_classdata('textile'); __PACKAGE__->textile( Text::Textile->new );
1;