From: Tomas Doran Date: Fri, 29 May 2009 00:09:11 +0000 (+0000) Subject: Epic fail plugin breaks everything which loads TestApp X-Git-Tag: 5.80005~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=ccb6cad7c8e8d19f4a8a57dcc37bf15b1d2efa18 Epic fail plugin breaks everything which loads TestApp --- diff --git a/t/lib/Catalyst/Plugin/MangleDollarUnderScore.pm b/t/lib/Catalyst/Plugin/MangleDollarUnderScore.pm new file mode 100644 index 0000000..aee621b --- /dev/null +++ b/t/lib/Catalyst/Plugin/MangleDollarUnderScore.pm @@ -0,0 +1,16 @@ +package Catalyst::Plugin::MangleDollarUnderScore; +use strict; +use warnings; + +our $VERSION = 0.1; # Make is_class_loaded happy + +# Class::MOP::load_class($_) can hurt you real hard. +BEGIN { $_ = q{ +mst sayeth, Class::MOP::load_class($_) will ruin your life +rafl spokeh "i ♥ my $_"', +and verrily forsooth, t0m made tests +and yea, there was fail' }; } + +1; +__END__ + diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 4242c5a..0d03647 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -2,6 +2,7 @@ package TestApp; use strict; use Catalyst qw/ + MangleDollarUnderScore Test::Errors Test::Headers Test::Plugin