BSD Ports

devel/p5-Sub-Alias 1.0.0 FreeBSD

Simple subroutine alias

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, perl5
Package size
6.0 KiB, 7.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

SystemPortVersion
FreeBSDdevel/p5-Sub-Alias1.0.0
DragonFlydevel/p5-Sub-Alias1.0.0

Install

Binary package:

pkg install p5-Sub-Alias

From the ports tree:

cd /usr/ports/devel/p5-Sub-Alias/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Sub-Alias>0:devel/p5-Sub-Alias

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.01.0.01.0.01.0.01.0.0
FreeBSD:14:quarterly1.0.01.0.0n/a1.0.01.0.0
FreeBSD:15:latest1.0.01.0.0n/a1.0.01.0.0
FreeBSD:15:quarterly1.0.01.0.0n/an/an/a
FreeBSD:16:latest1.0.01.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 14

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Sub/Alias.pm
  • %%PERL5_MAN3%%/Sub::Alias.3.gz
distinfo 1
FileSizeSHA256
Sub-Alias-1.0.0.tar.gz4851f3c9d1637b7dac83c0e294c250fb73482076cf1fc3cecb67c2d67eda90fbb250
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.