Moose:...Number(3pm)
β¨ NAME β¨
okay so bestie, this page is all about Moose::Autobox::Number β it's the Number role π
that's the whole name, that's the whole vibe.
πΈ VERSION πΈ
version 0.16 β¨ (yes she's got a number, she's literally the number role, iconic)
π¦ DESCRIPTION π¦
So what even is this? It's a role that describes a Numeric value. That's it. That's the assignment. She shows up, she describes numeric values, she leaves. main character energy fr fr π
π METHODS π
to
okay so this one takes another number as its argument, and it produces an array that ranges from the number the method got called on all the way to the number you handed it as the argument. π«Ά
BUT β and this is the part that's giving spicy πΆοΈ β in some situations this method intentionally behaves different from the range operator in perl. Intentional! She's not broken, she's making a choice. Periodt.
$foo = [ 5 .. 1 ]; # $foo is []
$foo = 5->to(1); # $foo is [ 5, 4, 3, 2, 1 ]
Likeβ¦ look at that. The range operator said "[], nothing to see here" and 5->to(1) said "bestie I'm giving you [ 5, 4, 3, 2, 1 ]" π₯ she counts down. Slay.
meta
...that's it. That's the whole entry. The original page lists meta and then just β¨ moves on β¨ with no description whatsoever. So I'm not gonna make anything up β she's there, she exists, she has no notes. ππ
π§ SUPPORT π§
Got bugs? Bestie, we ALL got bugs. π Here's where to send them:
- Bugs may be submitted through the RT bug tracker: <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> β or honestly just email <bug-Moose-Autobox@rt.cpan.org> π§
- There's also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html> π
- And there's also an irc channel available for users of this distribution, at
#mooseonirc.perl.org<irc://irc.perl.org/#moose> π¬
Come hang out, iykyk π
π AUTHOR π
Stevan Little <stevan.little@iinteractive.com> β thank you for your service, king π«‘π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2006 by Infinity Interactive, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π (free software ate, no cap)
and that's the whole page bestie, go forth and autobox ur numbers π¦β¨
perl v5.34.0 Β· 2022-06-15 Β· mwah, drink water, read ur manpages π π
π¦ where this page comes from
- debian bookworm: libmoose-autobox-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmoose-autobox-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoose-autobox-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoose-autobox-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoose-autobox-perl 0.16-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