pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/p5-Class-DBI-Plugin
Module Name: pkgsrc
Committed By: abs
Date: Sun Apr 12 19:25:25 UTC 2009
Update of /cvsroot/pkgsrc/databases/p5-Class-DBI-Plugin
In directory ivanova.netbsd.org:/tmp/cvs-serv16847
Log Message:
Added databases/p5-Class-DBI-Plugin version 0.03
Class::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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
N pkgsrc/databases/p5-Class-DBI-Plugin/Makefile
N pkgsrc/databases/p5-Class-DBI-Plugin/DESCR
N pkgsrc/databases/p5-Class-DBI-Plugin/distinfo
No conflicts created by this import
Home |
Main Index |
Thread Index |
Old Index