databases/p5-Class-DBI-Plugin 0.03nb17 NetBSD
Abstract base class for Class::DBI plugins
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- Categories
- perl5
- Package size
- 6.2 KiB, 6.8 KiB installed
Description
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:
- All methods which are to exported are given the "Plugged" attribute. All other methods are not exported to the plugged-in class.
- 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.
- The class parameter for the init() method and the "Plugged" methods is the plugged-in class, not the plugin class.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | databases/p5-Class-DBI-Plugin | 0.03nb17 |
| FreeBSD | databases/p5-Class-DBI-Plugin | 0.03_1 |
| DragonFly | databases/p5-Class-DBI-Plugin | 0.03_1 |
| MidnightBSD | databases/p5-Class-DBI-Plugin | 0.03_1 |
| HardenedBSD | databases/p5-Class-DBI-Plugin | 0.03_1 |
| GhostBSD | databases/p5-Class-DBI-Plugin | 0.03_1 |
Install
Binary package:
pkgin install p5-Class-DBI-Plugin
From pkgsrc:
cd /usr/pkgsrc/databases/p5-Class-DBI-Plugin && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.03nb17 |
| NetBSD 10.1 aarch64 | 0.03nb16 |
| SmartOS / illumos x86_64 | 0.03nb17 |
| macOS 15 arm64 | 0.03nb17 |