1 package Moose::Autobox::Value;
2 use Moose::Role 'with';
6 with 'Moose::Autobox::Defined';
9 my ($self, $block) = @_;
21 Moose::Autobox::Value - the Value role
27 # execute a sub on the value
28 print 10->do(sub { $_ * $_ }); # prints 100
32 This is a role to describes a defined (non-reference) Perl value.
46 All complex software has bugs lurking in it, and this module is no
47 exception. If you find a bug please either email me, or add the bug
52 Stevan Little E<lt>stevan@iinteractive.comE<gt>
54 =head1 COPYRIGHT AND LICENSE
56 Copyright 2006-2008 by Infinity Interactive, Inc.
58 L<http://www.iinteractive.com>
60 This library is free software; you can redistribute it and/or modify
61 it under the same terms as Perl itself.