BSD Ports

devel/p5-B-Hooks-AtRuntime 8 FreeBSD

Lower blocks from compile time to runtime

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
devel, perl5
Package size
14.0 KiB, 26.2 KiB installed

Description

B::Hooks::AtRuntime allows code that runs at compile-time to do something at runtime. A block passed to at_runtime gets compiled into the code that's currently compiling, and will be called when control reaches that point at runtime. In the example in the SYNOPSIS, the warnings will occur in order, and if that section of code runs more than once, so will all three warnings.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-B-Hooks-AtRuntime8
DragonFlydevel/p5-B-Hooks-AtRuntime8
HardenedBSDdevel/p5-B-Hooks-AtRuntime8
GhostBSDdevel/p5-B-Hooks-AtRuntime8

Install

Binary package:

pkg install p5-B-Hooks-AtRuntime

From the ports tree:

cd /usr/ports/devel/p5-B-Hooks-AtRuntime/ && make install clean

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

RUN_DEPENDS=	p5-B-Hooks-AtRuntime>0:devel/p5-B-Hooks-AtRuntime

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:latest88888
FreeBSD:14:quarterly88n/a88
FreeBSD:15:latest88n/a88
FreeBSD:15:quarterly88n/an/an/a
FreeBSD:16:latest88n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 2

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

Build dependencies 4
Run dependencies 3
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/B/Hooks/AtRuntime.pm
  • %%SITE_ARCH%%/auto/B/Hooks/AtRuntime/AtRuntime.so
  • %%PERL5_MAN3%%/B::Hooks::AtRuntime.3.gz
distinfo 1
FileSizeSHA256
B-Hooks-AtRuntime-8.tar.gz164027ca7f8231e48c0477f688287fd0b211fc98ed4668fa4fb7133b1a8d75e92c4132
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.