devel/p5-Class-Load 0.25 DragonFly
Working (require Class::Name) and more
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 15.5 KiB, 53.1 KiB installed
Description
require EXPR only accepts Class/Name.pm style module names, not Class::Name. How frustrating! For that, we provide load_class 'Class::Name'. It's often useful to test whether a module can be loaded, instead of throwing an error when it's not available. For that, we provide try_load_class 'Class::Name'. Finally, sometimes we need to know whether a particular class has been loaded. Asking %25INC is an option, but that will miss inner packages and any class for which the filename does not correspond to the package name. For that, we provide is_class_loaded 'Class::Name'.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Class-Load | 0.25 |
| FreeBSD | devel/p5-Class-Load | 0.25 |
| OpenBSD | devel/p5-Class-Load | 0.25p0 |
| NetBSD | devel/p5-Class-Load | 0.25nb9 |
| MidnightBSD | devel/p5-Class-Load | 0.25 |
| HardenedBSD | devel/p5-Class-Load | 0.25 |
| GhostBSD | devel/p5-Class-Load | 0.25 |
Install
Binary package:
pkg install p5-Class-Load
From DPorts:
cd /usr/dports/devel/p5-Class-Load && make install clean
Dependencies
Run dependencies 6
Required by 39
- databases/p5-DBIx-Class-Migration
- databases/p5-DBIx-Skinny
- databases/p5-Teng
- devel/p5-App-CLI
- devel/p5-App-Cmd
- devel/p5-App-GitGot
- devel/p5-Bread-Board-Declare
- devel/p5-Class-Load-XS
- devel/p5-Config-MVP
- devel/p5-Data-Remember
- devel/p5-Input-Validator
- devel/p5-Moose
- devel/p5-MooseX-Has-Options
- devel/p5-MooseX-Runnable
- devel/p5-MooseX-Test-Role
- devel/p5-MooseX-Traits
- devel/p5-MooseX-Traits-Pluggable
- devel/p5-Parse-Method-Signatures
- devel/p5-SOAP-WSDL
- devel/p5-TAP-SimpleOutput
- devel/p5-Test-Mock-Guard
- misc/p5-Bot-Training
- net/p5-Net-CLI-Interact
- net/p5-Net-HTTP-Spore
- net/p5-Net-Twitter
- textproc/p5-FormValidator-Lite
- textproc/p5-Hailo
- textproc/p5-Pod-Elemental
- www/p5-Apache-AuthCookie
- www/p5-App-Nopaste
- www/p5-App-gist
- www/p5-Catalyst-Plugin-SmartURI
- www/p5-Catalyst-Runtime
- www/p5-Dancer-Plugin-Swagger
- www/p5-Emplacken
- www/p5-FCGI-Engine
- www/p5-HTML-FormHandler
- www/p5-Mason
- www/p5-Mojo-UserAgent-Mockable