Commit | Line | Data |
---|---|---|
fc7ec1d9 | 1 | package Catalyst::Base; |
e5ecd5bc | 2 | use Moose; |
dec1adb0 | 3 | BEGIN { extends 'Catalyst::Controller' } |
b7783788 | 4 | |
dec1adb0 | 5 | after '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 | 10 | no Moose; |
11 | ||
234763d4 | 12 | 1; |
d70195d8 | 13 | |
234763d4 | 14 | __END__ |
2a563513 | 15 | |
aad72cc9 | 16 | =head1 NAME |
17 | ||
234763d4 | 18 | Catalyst::Base - Deprecated base class |
aad72cc9 | 19 | |
20 | =head1 DESCRIPTION | |
21 | ||
234763d4 | 22 | This used to be the base class for Catalyst Controllers. It |
dec1adb0 | 23 | remains here for compatibility reasons, but its use is highly deprecated. |
24 | ||
25 | If your application produces a warning, then please update your application to | |
26 | inherit from L<Catalyst::Controller> instead. | |
26d2c445 | 27 | |
fc7ec1d9 | 28 | =head1 SEE ALSO |
29 | ||
e7f1cf73 | 30 | L<Catalyst>, L<Catalyst::Controller>. |
fc7ec1d9 | 31 | |
2f381252 | 32 | =head1 AUTHORS |
fc7ec1d9 | 33 | |
2f381252 | 34 | Catalyst Contributors, see Catalyst.pm |
fc7ec1d9 | 35 | |
36 | =head1 COPYRIGHT | |
37 | ||
536bee89 | 38 | This library is free software. You can redistribute it and/or modify it under |
fc7ec1d9 | 39 | the same terms as Perl itself. |
40 | ||
e5ecd5bc | 41 | =cut |