In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Base.pm
index 6ef8fd3..1dca5c9 100644 (file)
@@ -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__
@@ -34,7 +35,7 @@ Catalyst Contributors, see Catalyst.pm
 
 =head1 COPYRIGHT
 
-This program is free software, you can redistribute it and/or modify it under
+This library is free software. You can redistribute it and/or modify it under
 the same terms as Perl itself.
 
 =cut