X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_server-without_modules.t;h=3bb7d76c047e581852fc51c443ce95b346a2d006;hp=2fc77725f52fb87784c01e8bcadcbe6b52a79330;hb=0f6be50c90e64a135de4f8fd00703b3fc34f0fa5;hpb=80267996ccba9e9c1cad4fe10f4ecef33c1b1d4b diff --git a/t/aggregate/unit_core_script_server-without_modules.t b/t/aggregate/unit_core_script_server-without_modules.t index 2fc7772..3bb7d76 100644 --- a/t/aggregate/unit_core_script_server-without_modules.t +++ b/t/aggregate/unit_core_script_server-without_modules.t @@ -1,6 +1,12 @@ use strict; use warnings; use FindBin qw/$Bin/; + +# Package::Stash::XS has a weird =~ XS invocation during its compilation +# This interferes with @INC hooks that do rematcuing on their own on +# perls before 5.8.7. Just use the PP version to work around this. +BEGIN { $ENV{PACKAGE_STASH_IMPLEMENTATION} = 'PP' if $] < '5.008007' } + use Test::More; use Try::Tiny;