X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestPluginWithConstructor.pm;fp=t%2Flib%2FTestPluginWithConstructor.pm;h=e5bdb1c372f7f377d34106bdd0860f393906172b;hp=0000000000000000000000000000000000000000;hb=6a8f85af6d0032d3f6aecc0ce9420ceb523910b2;hpb=8317b3d156ffc23e76f7eef542a1887ccbac1f8c diff --git a/t/lib/TestPluginWithConstructor.pm b/t/lib/TestPluginWithConstructor.pm new file mode 100644 index 0000000..e5bdb1c --- /dev/null +++ b/t/lib/TestPluginWithConstructor.pm @@ -0,0 +1,11 @@ +# See t/plugin_new_method_backcompat.t +package TestPluginWithConstructor; +use strict; +use warnings; +sub new { + my $class = shift; + return bless $_[0], $class; +} + +1; +