X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FREST.pm;h=f2c6a3f36bd535a7fd28dfa9e4dd920f360d7e26;hb=930013e6f19b25a090c3f8839495ad8d9b15ff6d;hp=43e781c125c650898061d52bcfdc0224f3e4d7bf;hpb=10bcd217c37d68aabbb0db8a5a7e233e679cb945;p=catagits%2FCatalyst-Action-REST.git diff --git a/lib/Catalyst/Controller/REST.pm b/lib/Catalyst/Controller/REST.pm index 43e781c..f2c6a3f 100644 --- a/lib/Catalyst/Controller/REST.pm +++ b/lib/Catalyst/Controller/REST.pm @@ -1,6 +1,6 @@ package Catalyst::Controller::REST; -use strict; -use warnings; +use Moose; +use namespace::autoclean; our $VERSION = '0.79'; $VERSION = eval $VERSION; @@ -255,7 +255,7 @@ such require you pass the current context ($c) as the first argument. =cut -use base 'Catalyst::Controller'; +BEGIN { extends 'Catalyst::Controller' } use Params::Validate qw(SCALAR OBJECT); __PACKAGE__->mk_accessors(qw(serialize));