devel/p5-Method-Alias 1.03_1 FreeBSD
Create method aliases (and do it safely)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 12.5 KiB, 26.2 KiB installed
Description
Method::Alias is designed to be used as a pragma, to which you provide a set of pairs of method names. Only very minimal checking is done, if you wish to create infinite loops or what have you, you are more than welcome to shoot yourself in the foot.
# Add a single method alias use Method::Alias 'foo' => 'bar';
# Add several method aliases use Method::Alias 'a' => 'b', 'c' => 'd', 'e' => 'f';
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Method-Alias | 1.03_1 |
| DragonFly | devel/p5-Method-Alias | 1.03_1 |
Install
Binary package:
pkg install p5-Method-Alias
From the ports tree:
cd /usr/ports/devel/p5-Method-Alias/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Method-Alias>0:devel/p5-Method-Alias
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.03_1 | 1.03_1 | 1.03_1 | 1.03_1 | 1.03_1 |
| FreeBSD:14:quarterly | 1.03_1 | 1.03_1 | n/a | 1.03_1 | 1.03_1 |
| FreeBSD:15:latest | 1.03_1 | 1.03_1 | n/a | 1.03_1 | 1.03_1 |
| FreeBSD:15:quarterly | 1.03_1 | 1.03_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.03_1 | 1.03_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Method/Alias.pm
- %%PERL5_MAN3%%/Method::Alias.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Method-Alias-1.03.tar.gz | 21253 | d3737e0feda7c7aebd880ee378ac009ab3aa6da44a7e885c2f8d31d3a13e1a53 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.