www/p5-WWW-Mechanize-Pluggable 1.14 DragonFly
Custmomize WWW::Mechanize via plugins
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, www
- Package size
- 30.9 KiB, 61.5 KiB installed
Description
This module provides all of the same functionality of WWW::Mechanize, but adds support for plugins using Module::Pluggable; this means that any module named WWW::Mechanize::Plugin::whatever... will be found and loaded when WWW::Mechanize::Pluggable is loaded.
Big deal, you say. Well, it becomes a big deal in conjunction with WWW::Mechanize::Pluggable's other feature: plugin hooks. When plugins are loaded, their import() methods can call WWW::Mechanize::Pluggable's prehook and posthook methods. These methods add callbacks to the plugin code in WWW::Mechanize::Pluggable's methods. These callbacks can act before a method or after it, and have to option of short-circuiting the call to the WWW::Mechanize::Pluggable method altogether.
These methods receive whatever parameters the WWW::Mechanize::Pluggable methods received, plus a reference to the actvive Mech object.
All other extensions to WWW::Mechanize::Pluggable are handled by the plugins.
In the other systems
The newest version among them is 1.14, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | www/p5-WWW-Mechanize-Pluggable | 1.14 newest | none known | - | [email protected] | - |
| FreeBSD | www/p5-WWW-Mechanize-Pluggable | 1.14 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-WWW-Mechanize-Pluggable | 1.14 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-WWW-Mechanize-Pluggable | 1.14 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-WWW-Mechanize-Pluggable
From DPorts:
cd /usr/dports/www/p5-WWW-Mechanize-Pluggable && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.