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