Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Data::Perl::Counter - Wrapping class for a simple numeric counter.

Author

       Matthew Phillips <mattp@cpan.org>

Description

       This class is a simple consumer of the Data::Perl::Role::Counter role, which provides all functionality.
       You probably want to look there instead.

Name

       Data::Perl::Counter - Wrapping class for a simple numeric counter.

Synopsis

         use Data::Perl qw/counter/;

         my $c = counter(4);

         $c->inc;   # $c == 5

         $c->reset; # $c == 0

Version

       version 0.002011

See Also