diff options
Diffstat (limited to 'lib/Switch/t/switch.t')
-rwxr-xr-x | lib/Switch/t/switch.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Switch/t/switch.t b/lib/Switch/t/switch.t index 7b147c0d9e..5f5451d34e 100755 --- a/lib/Switch/t/switch.t +++ b/lib/Switch/t/switch.t @@ -1,5 +1,10 @@ #! /usr/local/bin/perl -w +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; +} + use Carp; use Switch qw(__ fallthrough); |