0.04
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Scalar.pm
CommitLineData
5f654d8e 1package Moose::Autobox::Scalar;
2use Moose::Role 'with';
3
4our $VERSION = '0.01';
5
31d40d73 6with 'Moose::Autobox::String',
7 'Moose::Autobox::Number';
5f654d8e 8
3f4dd8b7 9sub print { CORE::print $_[0] }
10sub say { CORE::print $_[0], "\n" }
31d40d73 111;
12
13__END__
14
15=pod
16
17=head1 NAME
18
19Moose::Autobox::Scalar - the Scalar role
20
31d40d73 21=head1 DESCRIPTION
22
8937074a 23This is a role to describes a Scalar value, which is defined
24as the combination (union sort of) of a String and a Number.
25
260cc81f 26=head1 METHODS
27
28=over 4
29
30=item B<meta>
31
3f4dd8b7 32=item B<print>
33
34=item B<say>
35
260cc81f 36=back
37
31d40d73 38=head1 BUGS
39
40All complex software has bugs lurking in it, and this module is no
41exception. If you find a bug please either email me, or add the bug
42to cpan-RT.
43
44=head1 AUTHOR
45
46Stevan Little E<lt>stevan@iinteractive.comE<gt>
47
48=head1 COPYRIGHT AND LICENSE
49
b3cb7038 50Copyright 2006-2007 by Infinity Interactive, Inc.
31d40d73 51
52L<http://www.iinteractive.com>
53
54This library is free software; you can redistribute it and/or modify
55it under the same terms as Perl itself.
56
3f4dd8b7 57=cut