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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.03 | 0.03 | 0.03 | 0.03 | 0.03 |
| FreeBSD:14:quarterly | 0.03 | 0.03 | n/a | 0.03 | 0.03 |
| FreeBSD:15:latest | 0.03 | 0.03 | n/a | 0.03 | 0.03 |
| FreeBSD:15:quarterly | 0.03 | 0.03 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.03 | 0.03 | 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.
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
| File | Size | SHA256 |
|---|---|---|
| Sub-Current-0.03.tar.gz | 3775 | c6a8004d001595b1cf764b9e409c5f245c83daa2490ee1bbbe570ce7c695e610 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.