1 package Moose::Autobox::Value;
2 use Moose::Role 'with', 'requires';
6 with 'Moose::Autobox::Defined';
9 my ($self, $block) = @_;
21 Moose::Autobox::Value - the Value role
30 # excute a sub on the value
31 10->do(sub { $_ + 15 })->print; # prints 25
47 All complex software has bugs lurking in it, and this module is no
48 exception. If you find a bug please either email me, or add the bug
53 Stevan Little E<lt>stevan@iinteractive.comE<gt>
55 =head1 COPYRIGHT AND LICENSE
57 Copyright 2006 by Infinity Interactive, Inc.
59 L<http://www.iinteractive.com>
61 This library is free software; you can redistribute it and/or modify
62 it under the same terms as Perl itself.