convert to Distar
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Base.pm
CommitLineData
fc7ec1d9 1package Catalyst::Base;
e5ecd5bc 2use Moose;
dec1adb0 3BEGIN { extends 'Catalyst::Controller' }
b7783788 4
dec1adb0 5after 'BUILD' => sub {
6 my $self = shift;
7 warn(ref($self) . " is using the deprecated Catalyst::Base, update your application as this will be removed in the next major release");
8};
9
ccccf084 10no Moose;
11
58f86b1a 12__PACKAGE__->meta->make_immutable;
13
234763d4 141;
d70195d8 15
234763d4 16__END__
2a563513 17
aad72cc9 18=head1 NAME
19
234763d4 20Catalyst::Base - Deprecated base class
aad72cc9 21
22=head1 DESCRIPTION
23
234763d4 24This used to be the base class for Catalyst Controllers. It
dec1adb0 25remains here for compatibility reasons, but its use is highly deprecated.
26
27If your application produces a warning, then please update your application to
28inherit from L<Catalyst::Controller> instead.
26d2c445 29
fc7ec1d9 30=head1 SEE ALSO
31
e7f1cf73 32L<Catalyst>, L<Catalyst::Controller>.
fc7ec1d9 33
2f381252 34=head1 AUTHORS
fc7ec1d9 35
2f381252 36Catalyst Contributors, see Catalyst.pm
fc7ec1d9 37
38=head1 COPYRIGHT
39
536bee89 40This library is free software. You can redistribute it and/or modify it under
fc7ec1d9 41the same terms as Perl itself.
42
e5ecd5bc 43=cut