foo
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Code.pm
index 72a529f..80ecbe1 100644 (file)
@@ -32,4 +32,66 @@ sub conjoin {
        return sub { $f->(@_) && $f2->(@_) }    
 }
 
-1;
\ No newline at end of file
+1;
+
+__END__
+
+=pod
+
+=head1 NAME 
+
+Moose::Autobox::Code - the Code role
+
+=head1 SYNOPOSIS
+
+  use Moose::Autobox;
+  use autobox;
+  
+  my $adder = sub { $_[0] + $_[1] };
+  
+  $add_2 = $adder->curry(2);
+  
+  $add_2->(2); # returns 4
+
+=head1 DESCRIPTION
+
+This is a role to describe operations on the Code type. 
+
+=head1 METHODS
+
+=over 4
+
+=item B<meta>
+
+=item B<curry>
+
+=item B<rcurry>
+
+=item B<conjoin>
+
+=item B<disjoin>
+
+=item B<compose>
+
+=back
+
+=head1 BUGS
+
+All complex software has bugs lurking in it, and this module is no 
+exception. If you find a bug please either email me, or add the bug
+to cpan-RT.
+
+=head1 AUTHOR
+
+Stevan Little E<lt>stevan@iinteractive.comE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2006 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