FreeBSD Ports

devel/p5-Sub-Name 0.28,1

Module to assign new names to Perl subroutines

Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
15.4 KiB, 54.6 KiB installed

Description

The subname() function exported by this module allows one to assign new names to Perl subroutine. This is different from glob-assignment, since the name is only used for informational purposes (caller, Carp, etc.).

Note that for anonymous closures (subs that reference lexicals declared outside the sub itself) one can name each instance of the closure differently, which can be very useful for debugging.

Install

As a binary package — by origin, or by package name:

pkg install devel/p5-Sub-Name
pkg install p5-Sub-Name

From the ports tree:

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

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

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

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:latest0.28,10.28,10.26,10.28,10.28,1
FreeBSD:14:quarterly0.28,10.28,1n/a0.28,10.28,1
FreeBSD:15:latest0.28,10.28,1n/a0.28,10.28,1
FreeBSD:15:quarterly0.28,10.28,1n/an/an/a
FreeBSD:16:latest0.28,10.28,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 2

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

All build dependencies 1
All run dependencies 1
Required by 135

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Sub/Name.pm
  • %%SITE_ARCH%%/auto/Sub/Name/Name.so
  • %%PERL5_MAN3%%/Sub::Name.3.gz
distinfo 1
FileSizeSHA256
Sub-Name-0.28.tar.gz15880339c53f6b3b02cbc73176564413b51d3c0f375f9760983fd579c27f558b169cfc
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.