Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Template::Plugin::Class - allow calling of class methods on arbitrary classes

Author

       Richard Clamp <richardc@unixbeard.net>

Bugs

       Apart from the mentioned caveat, none currently known.  If you find any please contact the author.

Caveats

       You won't be able to directly call "AUTOLOAD" or "DESTROY" methods on the remote class.  This shouldn't
       be a huge hardship.

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 %]

Name

       Template::Plugin::Class - allow calling of class methods on arbitrary classes

See Also

       Template

perl v5.34.0                                       2022-06-17                       Template::Plugin::Class(3pm)

Synopsis

         [% USE foo = Class('Foo') %]
         [% foo.bar %]

See Also