template::plugin::class(3pm) debian man page | unix.com

Man Page: template::plugin::class

Operating Environment: debian

Section: 3pm

Template::Plugin::Class(3pm)				User Contributed Perl Documentation			      Template::Plugin::Class(3pm)

NAME
Template::Plugin::Class - allow calling of class methods on arbitrary classes
SYNOPSIS
[% USE foo = Class('Foo') %] [% foo.bar %]
DESCRIPTION
Template::Plugin::Class allows you to call class methods on arbitrary classes. One use for this is in Class::DBI style applications, where you may do somthing like this: [% USE cd = Class('Music::CD') %] [% FOREACH disc = cd.retrieve_all %] [% disc.artist %] - [% disc.title %] [% END %]
CAVEATS
You won't be able to directly call "AUTOLOAD" or "DESTROY" methods on the remote class. This shouldn't be a huge hardship.
BUGS
Apart from the mentioned caveat, none currently known. If you find any please contact the author.
AUTHOR
Richard Clamp <richardc@unixbeard.net>
COPYRIGHT
Copyright (C) 2003, 2004, 2006 Richard Clamp. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Template perl v5.10.0 2006-05-10 Template::Plugin::Class(3pm)
Related Man Pages
class::dbi::plugin::abstractcount(3pm) - debian
class::makemethods::template::classinherit(3pm) - debian
class::makemethods::template::ref(3pm) - debian
template::plugin::textile2(3pm) - debian
template::plugin::yaml(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
Weird 'find' results
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph