From: Marcus Ramberg Date: Sun, 12 Apr 2009 17:39:08 +0000 (+0000) Subject: Fix base class deprecation X-Git-Tag: 5.80001~30 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ccccf0840ba699aabcc6bc5f2189d74a0294148c;hp=b6103f13426520d083ef9e0671dbc6ea2750cd40;p=catagits%2FCatalyst-Runtime.git Fix base class deprecation --- diff --git a/lib/Catalyst/Base.pm b/lib/Catalyst/Base.pm index 6ef8fd3..63b9ba6 100644 --- a/lib/Catalyst/Base.pm +++ b/lib/Catalyst/Base.pm @@ -1,13 +1,14 @@ package Catalyst::Base; use Moose; BEGIN { extends 'Catalyst::Controller' } -no Moose; 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__