FreeBSD.software
Home/devel/p5-B-Hooks-AtRuntime

p5-B-Hooks-AtRuntime

8

Lower blocks from compile time to runtime

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.

Origin: devel/p5-B-Hooks-AtRuntime
Category: devel
Size: 26.2KiB
License: BSD2CLAUSE
Maintainer: sunpoet@FreeBSD.org
Dependencies: 3 packages
Required by: 1 packages
$pkg install p5-B-Hooks-AtRuntime

Dependencies (3)

Required By (1 packages)

More in devel