Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Template::Plugin::ClasUser Contributed Perl DocumentTemplate::Plugin::Class(3)

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, 2009 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.24.1			  2009-05-05	    Template::Plugin::Class(3)

NAME | SYNOPSIS | DESCRIPTION | CAVEATS | BUGS | AUTHOR | COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Template::Plugin::Class&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help