Search results for "module:Attribute::Signature"
Attribute::Signature - allows you to define a call signature for subroutines
This module allows you to declare calling and returning signatures for a method. As yet it does not provide multimethod type functionality, but it does prevent you from writing lots of annoying code to check argument types inside your subroutine. "At...
CHORNY/Attribute-Signature-1.11 - 21 May 2015 10:30:30 UTC
Signature::Attribute::Alias - make signature parameters that alias caller-provided values
This module provides a third-party subroutine parameter attribute via XS::Parse::Sublike, which declares that the parameter will alias the value passed by the caller, rather than take a copy of it. WARNING The ability for sublike constructions to tak...
PEVANS/Signature-Attribute-Alias-0.01 - 08 Sep 2023 22:22:34 UTC
Signature::Attribute::Checked - apply value constraint checks to subroutine parameters
This module provides a third-party subroutine parameter attribute via XS::Parse::Sublike, which declares that values passed to a subroutine must conform to a given constraint check. WARNING The ability for sublike constructions to take third-party pa...
PEVANS/Signature-Attribute-Checked-0.01 - 18 Sep 2023 20:26:59 UTC
Sub::Attribute::Prototype - polyfill for :prototype attribute on older perls
This polyfill allows a module to use the ":prototype" function attribute to apply a prototype to a function, even on perls too old to natively support it. Perl version 5.20 introduced the ":prototype" attribute, as part of the wider work surrounding ...
PEVANS/Sub-Attribute-Prototype-0.01 - 29 Jun 2020 13:00:59 UTC