Apocrypha

Sub-Attribute

Sub::Attribute - Reliable subroutine attribute handlers

Sub::Attribute is a role to define attribute handlers for specific subroutine attributes. The feature of this module is similar to that of Attribute::Handlers, but has less functionality and more reliability. That is, while Attribute::Handlers provides many options for ATTR(CODE), Sub::Attribute provides no options for ATTR_SUB. However, the attribute handlers defined by Sub::Attribute are always called with informative arguments. Attribute::Handlers's ATTR(CODE) is not called in run-time eval(), so ATTR(CODE) is not reliable.

Available in

OverlayNewestEbuildsLast activity
ledgersmb GitHub ↗ 0.70.0 1 2 yr details ›

Versions & arches

VersionOverlay amd64 Committed
0.70.0 ledgersmb amd64 testing view · download · history ↗