X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestPluginWithConstructor.pm;h=e251568be84e5d89bb7d185bce6d11bfee7125c3;hp=e5bdb1c372f7f377d34106bdd0860f393906172b;hb=278ff444cbe60ecc35b542062a6ce768dafa71da;hpb=009b5b2324f83396439a494a56684efb60eb2cd8 diff --git a/t/lib/TestPluginWithConstructor.pm b/t/lib/TestPluginWithConstructor.pm index e5bdb1c..e251568 100644 --- a/t/lib/TestPluginWithConstructor.pm +++ b/t/lib/TestPluginWithConstructor.pm @@ -1,11 +1,17 @@ # See t/plugin_new_method_backcompat.t -package TestPluginWithConstructor; +package Class::Accessor::Fast; use strict; use warnings; + sub new { my $class = shift; return bless $_[0], $class; } +package TestPluginWithConstructor; +use strict; +use warnings; +use base qw/Class::Accessor::Fast/; + 1;