0.06
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Scalar.pm
index ca80a79..cb25538 100644 (file)
@@ -5,11 +5,9 @@ our $VERSION = '0.01';
 
 with 'Moose::Autobox::String',
      'Moose::Autobox::Number';     
-
-# ::Value requirement     
-     
-sub print { CORE::print $_[0] }  
      
+sub print { CORE::print $_[0] }
+sub say   { CORE::print $_[0], "\n" }
 1;
 
 __END__
@@ -20,12 +18,22 @@ __END__
 
 Moose::Autobox::Scalar - the Scalar role
 
-=head1 SYNOPOSIS
+=head1 DESCRIPTION
 
-  use Moose::Autobox;
-  use autobox;
+This is a role to describes a Scalar value, which is defined 
+as the combination (union sort of) of a String and a Number.
 
-=head1 DESCRIPTION
+=head1 METHODS
+
+=over 4
+
+=item B<meta>
+
+=item B<print>
+
+=item B<say>
+
+=back
 
 =head1 BUGS
 
@@ -39,11 +47,11 @@ Stevan Little E<lt>stevan@iinteractive.comE<gt>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2006 by Infinity Interactive, Inc.
+Copyright 2006-2008 by Infinity Interactive, Inc.
 
 L<http://www.iinteractive.com>
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.
 
-=cut
\ No newline at end of file
+=cut