From: Stevan Little Date: Sat, 24 Jun 2006 22:52:34 +0000 (+0000) Subject: foo X-Git-Tag: 0_02~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f6e003cc1ce0661451c5334ecbc044121cda2439;p=gitmo%2FMoose-Autobox.git foo --- diff --git a/README b/README index 86bb034..071f476 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Moose::Autobox version 0.01 +Moose::Autobox version 0.02 =========================== See the individual module documentation for more information @@ -18,6 +18,7 @@ This module requires these other modules and libraries: autobox Moose + Perl6::Junction COPYRIGHT AND LICENCE diff --git a/TODO b/TODO index aacfb19..a687f94 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,9 @@ +--------------------- + Add create() to Moose::Meta::Class to allow for roles to be passed in. -Change Moose::Autobox->import() to use that instead of an eval. \ No newline at end of file +Change Moose::Autobox->import() to use that instead of an eval. + +--------------------- + +get ::Code::dump working with Data::Dump::Streamer diff --git a/lib/Moose/Autobox/Array.pm b/lib/Moose/Autobox/Array.pm index 004e74e..27680b5 100644 --- a/lib/Moose/Autobox/Array.pm +++ b/lib/Moose/Autobox/Array.pm @@ -3,7 +3,7 @@ use Moose::Role 'with'; use Perl6::Junction; use autobox; -our $VERSION = '0.01'; +our $VERSION = '0.02'; with 'Moose::Autobox::Ref', 'Moose::Autobox::List', @@ -156,6 +156,8 @@ Moose::Autobox::Array - the Array role print "Squares: " . [ 1 .. 10 ]->map(sub { $_ * $_ })->join(', '); print [ 1, 'number' ]->sprintf('%d is the loneliest %s'); + + print ([ 1 .. 5 ]->any == 3) ? 'true' : 'false'; # prints 'true' =head1 DESCRIPTION @@ -258,4 +260,4 @@ L 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 diff --git a/lib/Moose/Autobox/Code.pm b/lib/Moose/Autobox/Code.pm index 8902d72..74ceb27 100644 --- a/lib/Moose/Autobox/Code.pm +++ b/lib/Moose/Autobox/Code.pm @@ -106,4 +106,4 @@ L 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 diff --git a/lib/Moose/Autobox/Ref.pm b/lib/Moose/Autobox/Ref.pm index 78ae17d..f4e397d 100644 --- a/lib/Moose/Autobox/Ref.pm +++ b/lib/Moose/Autobox/Ref.pm @@ -1,7 +1,7 @@ package Moose::Autobox::Ref; use Moose::Role 'with'; -our $VERSION = '0.01'; +our $VERSION = '0.02'; with 'Moose::Autobox::Defined';