Search results for "module:Moose::Meta::Attribute::Native::Trait::Counter"

Moose::Meta::Attribute::Native::Trait::Counter - Helper trait for Int attributes which represent counters River stage four • 2912 direct dependents • 3929 total dependents

This trait provides native delegation methods for counters. A counter can be any sort of number (integer or not). The delegation methods allow you to increment, decrement, or reset the value....

ETHER/Moose-2.2201 - 07 Nov 2021 03:41:58 UTC

Moose::Meta::Attribute::Native - Delegate to native Perl types River stage four • 2912 direct dependents • 3929 total dependents

Native delegations allow you to delegate to native Perl data structures as if they were objects. For example, in the "SYNOPSIS" you can see a hash reference being treated as if it has methods named "exists()", "keys()", "get()", and "set()". The dele...

ETHER/Moose-2.2201 - 07 Nov 2021 03:41:58 UTC
2 results (0.09 seconds)