1Moose::Autobox::Value(3U)ser Contributed Perl DocumentatiMoonose::Autobox::Value(3)
2
3
4
6 Moose::Autobox::Value - Moose::Autobox::Value - the Value role
7
9 version 0.16
10
12 use Moose::Autobox;
13
14 # execute a sub on the value
15 print 10->do(sub { $_ * $_ }); # prints 100
16
18 This is a role to describes a defined (non-reference) Perl value.
19
21 "meta"
22 "do (\&block)"
23
25 Bugs may be submitted through the RT bug tracker
26 <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> (or
27 bug-Moose-Autobox@rt.cpan.org <mailto:bug-Moose-Autobox@rt.cpan.org>).
28
29 There is also a mailing list available for users of this distribution,
30 at <http://lists.perl.org/list/moose.html>.
31
32 There is also an irc channel available for users of this distribution,
33 at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
34
36 Stevan Little <stevan.little@iinteractive.com>
37
39 This software is copyright (c) 2006 by Infinity Interactive, Inc.
40
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.34.0 2021-07-22 Moose::Autobox::Value(3)