Catalyst::Base - Deprecated base class


Catalyst-Runtime documentation Contained in the Catalyst-Runtime distribution.

Index


Code Index:

NAME

Top

Catalyst::Base - Deprecated base class

DESCRIPTION

Top

This used to be the base class for Catalyst Controllers. It remains here for compatibility reasons, but its use is highly deprecated.

If your application produces a warning, then please update your application to inherit from Catalyst::Controller instead.

SEE ALSO

Top

Catalyst, Catalyst::Controller.

AUTHORS

Top

Catalyst Contributors, see Catalyst.pm

COPYRIGHT

Top


Catalyst-Runtime documentation Contained in the Catalyst-Runtime distribution.

package Catalyst::Base;
use Moose;
BEGIN { extends 'Catalyst::Controller' }

after 'BUILD' => sub {
    my $self = shift;
    warn(ref($self) . " is using the deprecated Catalyst::Base, update your application as this will be removed in the next major release");
};

no Moose;

1;

__END__