From: Christian Hansen Date: Wed, 23 Mar 2005 20:39:53 +0000 (+0000) Subject: remove $class->import from C::Test as it will break code that does not overload Catal... X-Git-Tag: 5.7099_04~1705 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bd5b7787cf643009f9737c5eec336801355a0299 remove $class->import from C::Test as it will break code that does not overload Catalyst->import --- diff --git a/lib/Catalyst/Test.pm b/lib/Catalyst/Test.pm index 385d25b..f19b76f 100644 --- a/lib/Catalyst/Test.pm +++ b/lib/Catalyst/Test.pm @@ -66,7 +66,6 @@ sub import { unless ( $INC{'Test/Builder.pm'} ) { die qq/Couldn't load "$class", "$@"/ if $@; } - $class->import; no strict 'refs'; my $caller = caller(0);