Data::...Number(3pm)
π Data::Perl::Number β the whole page, bestie π
okay so this is Data::Perl::Number(3pm), a User Contributed Perl Documentation moment, and honestly? it's giving cute little wrapper energy. let's get into it πΈ
β¨ NAME β¨
Data::Perl::Number β a wrapping class for Perl scalar numbers. yeah. that's the whole vibe. it wraps numbers. it's a wrapper. for numbers. π
π VERSION π
we're on version 0.002011, bestie. tiny number, big personality β¨
π SYNOPSIS π
here's how you actually use it, no cap:
use Data::Perl qw/number/;
my $num = number(123);
$num->add(5); # $num == 128
$num->div(2); # $num == 64
like?? look at that. you start at 123, you add(5) and now you're at 128, you div(2) and boom, 64. math but make it an object π¦
π DESCRIPTION π
okay so real talk: this class is literally just a simple consumer of the Data::Perl::Role::Number role. that role does all the actual work β every bit of functionality lives there. so if you're looking for the real tea, you probably want to go look at Data::Perl::Role::Number instead. this page is basically the little sibling that points at the cool older sibling π
ngl if you came here hunting for the good stuff, the role is where the good stuff is. this class is just the vibe-forward front door πͺβ¨
π AUTHOR π
Matthew Phillips <mattp@cpan.org> β king behavior, honestly π«Ά
πΈ COPYRIGHT AND LICENSE πΈ
this software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>.
and the legal bit, because we respect the paperwork: this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt π
and that's the whole page!! this was generated from perl v5.36.0, dated 2022-10-16, for Data::Perl::Number(3pm) β go forth and wrap your numbers responsibly, bestie πβ¨π
π¦ 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