blob: 43f22951c16981d9d32dceb31cf0813f8a31e9ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
package Reaction::ClassExporter;
use strict;
use warnings;
use Reaction::Class ();
sub import {
my $self = shift;
my $pkg = caller;
&strict::import;
&warnings::import;
{
no strict 'refs';
@{"${pkg}::ISA"} = ('Reaction::Class');
*{"${pkg}::import"} = \&Reaction::Class::import;
}
goto &Moose::import;
}
1;
=head1 NAME
Reaction::ClassExporter
=head1 DESCRIPTION
=head1 SEE ALSO
L<Reaction::Class>
=head1 AUTHORS
See L<Reaction::Class> for authors.
=head1 LICENSE
See L<Reaction::Class> for the license.
=cut
|