1Moose::Autobox::Value(3U)ser Contributed Perl DocumentatiMoonose::Autobox::Value(3)
2
3
4
6 Moose::Autobox::Value - the Value role
7
9 use Moose::Autobox;
10
11 # execute a sub on the value
12 print 10->do(sub { $_ * $_ }); # prints 100
13
15 This is a role to describes a defined (non-reference) Perl value.
16
18 meta
19 do (\&block)
20
22 All complex software has bugs lurking in it, and this module is no
23 exception. If you find a bug please either email me, or add the bug to
24 cpan-RT.
25
27 Stevan Little <stevan@iinteractive.com>
28
30 Copyright 2006-2008 by Infinity Interactive, Inc.
31
32 <http://www.iinteractive.com>
33
34 This library is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
37
38
39perl v5.12.2 2010-04-23 Moose::Autobox::Value(3)