Template::Plugin - Base class for plugin objects.
package MyOrg::Template::MyPlugin; use base qw( Template::Plugin ); sub new { my ($class, $context, @params) = @_; bless { ...whatever... }, $class; } sub method1 { } sub method1 { }
The Template::Plugin module defines a base class from which other plugin modules can be derived.
Andy Wardley <cre.canon.co.uk>
$Revision: 1.8 $
Copyright (C) 1996-1999 Andy Wardley. All Rights Reserved. Copyright (C) 1998-1999 Canon Research Centre Europe Ltd.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Template
To install Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template
CPAN shell
perl -MCPAN -e shell install Template
For more information on module installation, please visit the detailed CPAN module installation guide.