FreeBSD Ports

devel/p5-Sub-Current 0.03

Get the current subroutine

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

Description

Sub::Current makes available a function ROUTINE(), that returns a code reference pointing at the currently executing subroutine.

In a special block (BEGIN, END, CHECK, INIT, and UNITCHECK in Perl 5.10) this function will return undef.

Outside of a special block (that is, at the top level of a program) ROUTINE() will return undef as well.

Install

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

pkg install devel/p5-Sub-Current
pkg install p5-Sub-Current

From the ports tree:

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

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

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

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.030.030.030.030.03
FreeBSD:14:quarterly0.030.03n/a0.030.03
FreeBSD:15:latest0.030.03n/a0.030.03
FreeBSD:15:quarterly0.030.03n/an/an/a
FreeBSD:16:latest0.030.03n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

All build dependencies 1
All run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Sub/Current.pm
  • %%SITE_ARCH%%/auto/Sub/Current/Current.so
  • %%PERL5_MAN3%%/Sub::Current.3.gz
distinfo 1
FileSizeSHA256
Sub-Current-0.03.tar.gz3775c6a8004d001595b1cf764b9e409c5f245c83daa2490ee1bbbe570ce7c695e610
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.