devel/p5-Module-Pluggable 6.3 MidnightBSD
Automatically give your module the ability to have plugins
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
787dcc0cd6- License
- artistic, gpl+
- Categories
- devel, perl5
Description
Module::Pluggable provides a simple but, hopefully, extensible way of having 'plugins' for your module. Obviously this isn't going to be the be all and end all of solutions but it works for me.
Essentially all it does is export a method into your namespace that looks through a search path for .pm files and turn those into class names.
Optionally it instantiates those classes for you.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Module-Pluggable | 6.3 |
| FreeBSD | devel/p5-Module-Pluggable | 6.4 |
| OpenBSD | devel/p5-Module-Pluggable | 6.4 |
| NetBSD | devel/p5-Module-Pluggable | 6.4 |
| DragonFly | devel/p5-Module-Pluggable | 5.2 |
| HardenedBSD | devel/p5-Module-Pluggable | 6.4 |
| GhostBSD | devel/p5-Module-Pluggable | 6.4 |
Install
Binary package:
mport install p5-Module-Pluggable
From mports:
cd /usr/mports/devel/p5-Module-Pluggable && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Module-Pluggable>0:devel/p5-Module-Pluggable
Dependencies
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 6
- %%SITE_PERL%%/Devel/InnerPackage.pm
- %%SITE_PERL%%/Module/Pluggable.pm
- %%SITE_PERL%%/Module/Pluggable/Object.pm
- %%PERL5_MAN3%%/Devel::InnerPackage.3.gz
- %%PERL5_MAN3%%/Module::Pluggable.3.gz
- %%PERL5_MAN3%%/Module::Pluggable::Object.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Module-Pluggable-6.3.tar.gz | 29053 | 58512bb9c654746d0937770b98b559b30872d85ac24073485e5830890dd1b2a0 |
Master sites 1
- CPAN
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
787dcc0cd6 |
Lucas Holt | all p5 ports: fix CPAN author fetch paths Add CPAN author subdirectories for 42 distributions whose generic module paths no longer resolve.
AI-Assisted-by: Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |