Path to this page:
./
databases/p5-Class-DBI-Plugin,
Abstract base class for Class::DBI plugins
Branch: pkgsrc-2015Q4,
Version: 0.03nb6,
Package name: p5-Class-DBI-Plugin-0.03nb6,
Maintainer: pkgsrc-usersClass::DBI::Plugin is an abstract base class for Class::DBI plugins.
Its purpose is to make writing plugins easier. Writers of plugins
should be able to concentrate on the functionality their module
provides, instead of having to deal with the symbol table hackery
involved when writing a plugin module. Only three things must be
remembered:
1. All methods which are to exported are given the "Plugged"
attribute. All other methods are not exported to the plugged-in
class.
2. Method calls which are to be sent to the plugged-in class
are put in the init() method. Examples of these are set_sql(),
add_trigger() and so on.
3. The class parameter for the init() method and the "Plugged"
methods is the plugged-in class, not the plugin class.
Master sites: (Expand)
SHA1: 2b394d4dfeb87d7e623405448faf2b28d0caa364
RMD160: 0f9ccda25851c2d3cf0229557de33b88936d0e99
Filesize: 3.311 KB
Version history: (Expand)
- (2016-01-02) Package added to pkgsrc.se, version p5-Class-DBI-Plugin-0.03nb6 (created)