devel/p5-Sub-Alias 1.0.0 DragonFly
Simple subroutine alias
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, perl5
- Package size
- 6.5 KiB, 8.8 KiB installed
Description
This module does a compile-time code injection to let you define subroutine aliases based on its name.
This differs from p5-Sub-Name in that it defines a typeglob in a more correct way and keeps you from manipulating the symbols table directly. You can use the subroutine as if it was defined the ordinary way then.
This is particularly useful in the cases when you need to have several identical subroutines with different names.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Sub-Alias | 1.0.0 |
| FreeBSD | devel/p5-Sub-Alias | 1.0.0 |
| HardenedBSD | devel/p5-Sub-Alias | 1.0.0 |
| GhostBSD | devel/p5-Sub-Alias | 1.0.0 |
Install
Binary package:
pkg install p5-Sub-Alias
From DPorts:
cd /usr/dports/devel/p5-Sub-Alias && make install clean
Dependencies
Run dependencies 2
No port depends on this one.