foo
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox.pm
CommitLineData
5f654d8e 1
2package Moose::Autobox;
3
4use strict;
5use warnings;
6
252ab1a2 7use Moose qw(confess);
5f654d8e 8use Scalar::Util ();
9
10our $VERSION = '0.01';
11
12sub import {
13 eval q|
14package SCALAR;
15use Moose;
16with 'Moose::Autobox::Scalar';
17
18package ARRAY;
19use Moose;
20with 'Moose::Autobox::Array';
21
22package HASH;
23use Moose;
24with 'Moose::Autobox::Hash';
25
26package CODE;
27use Moose;
28with 'Moose::Autobox::Code';
29 |;
252ab1a2 30 confess 'Could not create autobox packages because - ' . $@ if $@;
5f654d8e 31}
32
331;
34
35__END__
36
37=pod
38
39=head1 NAME
40
41Moose::Autobox - autoboxed for her pleasure
42
43=head1 SYNOPOSIS
44
45=head1 DESCRIPTION
46
47 Any
48 Item
49 Bool
50 Undef
51 Defined
52 Value
53 Num
54 Int
55 Str
56 Ref
57 ScalarRef
58 ArrayRef
59 HashRef
60 CodeRef
61 RegexpRef
62 Object
63 Role
64
65
66=head1 BUGS
67
68All complex software has bugs lurking in it, and this module is no
69exception. If you find a bug please either email me, or add the bug
70to cpan-RT.
71
72=head1 AUTHOR
73
74Stevan Little E<lt>stevan@iinteractive.comE<gt>
75
76=head1 COPYRIGHT AND LICENSE
77
78Copyright 2006 by Infinity Interactive, Inc.
79
80L<http://www.iinteractive.com>
81
82This library is free software; you can redistribute it and/or modify
83it under the same terms as Perl itself.
84
85
86=cut
87
88