Data::Perl::Counter(3pm)

Data::Perl::Counter3pm

Wrapping class for a simple numeric counter.

Usage

  use Data::Perl qw/counter/;
  my $c = counter(4);
  $c->inc;   # $c == 5
  $c->reset; # $c == 0

Version

version 0.002011

Overview

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

Releases

7 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8–9
  2. 10
  3. 11
  4. 12–13
  5. Arch

Author

Matthew Phillips <[email protected]>

From perl-data-perl 0.002011-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.