Moose:...::Value(3pm)

πŸ“¦
version 0.16 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Moose::Autobox::Value β€” aka Moose::Autobox::Value β€” aka the Value role πŸŽ€ (yes bestie, the name says it twice, that's just how iconic it is)


πŸ¦‹ VERSION πŸ¦‹

version 0.16


🌸 SYNOPSIS 🌸

use Moose::Autobox;

# execute a sub on the value
print 10->do(sub { $_ * $_ }); # prints 100

okay so you literally take a sub and run it on the value. that's the whole vibe. 10->do(sub { $_ * $_ }) goes brrr and prints 100 πŸ’…


πŸ’– DESCRIPTION πŸ’–

This is a role, and what it does is describe a defined (non-reference) Perl value. that's it, that's the girl. no references allowed at this party, we're talking plain defined values only ✨


πŸ‘‘ METHODS πŸ‘‘

  • meta β€” the meta method, doing its meta thing 🫢
  • do (\&block) β€” hand it a code block and it executes that sub on the value. main character behavior fr fr

πŸ”₯ SUPPORT πŸ”₯

bugs? bestie, they may be submitted through the RT bug tracker at https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox β€” or if email is more your thing, bug-Moose-Autobox@rt.cpan.org (mailto:bug-Moose-Autobox@rt.cpan.org) πŸ“¬

there's also a mailing list for users of this distribution, at http://lists.perl.org/list/moose.html 🌈

and there's also an irc channel for users of this distribution, at "#moose" on "irc.perl.org" (irc://irc.perl.org/#moose) β€” come hang out, iykyk πŸ’œ


⭐ AUTHOR ⭐

Stevan Little <stevan.little@iinteractive.com> β€” the legend, the icon, the moment πŸ‘‘


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. slay, free software, we love to see it πŸ’…


no cap, that's the whole page. go forth and do your blocks 🧚

perl v5.34.0 Β· 2022-06-15 Β· Moose:...::Value(3pm) β€” user contributed Perl documentation, mwah πŸ’‹ bye bestie πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from