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.
cpan: Sub::Attribute cpan-module: Sub::Attribute cpan-module: Attribute::Exporter
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| ledgersmb GitHub ↗ | 0.70.0 | 1 | 2 yr | details › |