Data::...Counter(3pm)
π NAME π
ok so bestie, this is Data::Perl::Counter β it's a little wrapping class for a simple numeric counter π (and yes it lives in the perl section 3pm of the manual, in case the header vibe check was needed).
β¨ VERSION β¨
version 0.002011 β that's the one, no cap π
πΈ SYNOPSIS πΈ
like, here's the whole vibe in one go:
use Data::Perl qw/counter/;
my $c = counter(4);
$c->inc; # $c == 5
$c->reset; # $c == 0
ok so you make a counter starting at 4, you inc it and boom π₯ it's 5, then you reset and it's back to 0. iconic behavior honestly.
π¦ DESCRIPTION π¦
So the tea β: this class is just a simple consumer of the Data::Perl::Role::Counter role β literally all the actual functionality lives over there. So if you want the real deets, you probably wanna go look at Data::Perl::Role::Counter instead. This one's just the wrapper doing its little main character entrance π
π AUTHOR π
Matthew Phillips <mattp@cpan.org> β shoutout to the legend π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, that's the good license fr fr π
perl v5.36.0 Β· 2022-10-16
and that's the whole page bestie π documented by the perl doc crew, dated 2022-10-16, running under perl v5.36.0 β go forth and count β¨π
π¦ where this page comes from
- ubuntu noble: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms