1Data::Perl::Counter(3)User Contributed Perl DocumentationData::Perl::Counter(3)
2
3
4

NAME

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

VERSION

9       version 0.002011
10

SYNOPSIS

12         use Data::Perl qw/counter/;
13
14         my $c = counter(4);
15
16         $c->inc;   # $c == 5
17
18         $c->reset; # $c == 0
19

DESCRIPTION

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

AUTHOR

26       Matthew Phillips <mattp@cpan.org>
27
29       This software is copyright (c) 2020 by Matthew Phillips
30       <mattp@cpan.org>.
31
32       This is free software; you can redistribute it and/or modify it under
33       the same terms as the Perl 5 programming language system itself.
34
35
36
37perl v5.32.0                      2020-07-28            Data::Perl::Counter(3)
Impressum