[Catalyst-commits] r9682 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
marcus at dev.catalyst.perl.org
marcus at dev.catalyst.perl.org
Sun Apr 12 17:39:08 GMT 2009
Author: marcus
Date: 2009-04-12 18:39:08 +0100 (Sun, 12 Apr 2009)
New Revision: 9682
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Base.pm
Log:
Fix base class deprecation
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Base.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Base.pm 2009-04-12 17:38:59 UTC (rev 9681)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Base.pm 2009-04-12 17:39:08 UTC (rev 9682)
@@ -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__
More information about the Catalyst-commits
mailing list