our $VERSION = '0.01';
-sub import {
- eval q|
+#sub import {
+# eval q|
package SCALAR;
use Moose;
with 'Moose::Autobox::Scalar';
package CODE;
use Moose;
with 'Moose::Autobox::Code';
- |;
- confess 'Could not create autobox packages because - ' . $@ if $@;
-}
+# |;
+# confess 'Could not create autobox packages because - ' . $@ if $@;
+#}
1;
=head1 SYNOPOSIS
+ use Moose::Autobox;
+ use autobox;
+
+ print "Squares: " . [ 1 .. 10 ]->map(sub { $_ * $_ })->join(', ');
+
=head1 DESCRIPTION
- Any
+=head1 ROLES
+
Item
- Bool
Undef
Defined
Value
- Num
- Int
- Str
+ Scalar*
Ref
- ScalarRef
- ArrayRef
- HashRef
- CodeRef
- RegexpRef
- Object
- Role
-
+ List
+ Array*
+ Hash*
+ Code*
+
+ * indicates actual autoboxed types
=head1 BUGS
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
-
=cut
-
-