summaryrefslogtreecommitdiffstats
path: root/t/bare-anon.t
diff options
context:
space:
mode:
Diffstat (limited to 't/bare-anon.t')
-rw-r--r--t/bare-anon.t13
1 files changed, 8 insertions, 5 deletions
diff --git a/t/bare-anon.t b/t/bare-anon.t
index 0ecb324..f42dce8 100644
--- a/t/bare-anon.t
+++ b/t/bare-anon.t
@@ -6,13 +6,16 @@ use Test::Fatal;
use lib 't/lib';
use Package::Stash;
-use Symbol;
-plan skip_all => "Anonymous stashes in PP need at least perl 5.14"
- if $] < 5.014
- && $Package::Stash::IMPLEMENTATION eq 'PP';
+BEGIN {
+ plan skip_all => "Anonymous stashes in PP need at least perl 5.14"
+ if $] < 5.014
+ && $Package::Stash::IMPLEMENTATION eq 'PP';
+
+ plan skip_all => "This isn't really going to work yet, probably";
+}
-plan skip_all => "This isn't really going to work yet, probably";
+use Symbol;
my $anon = {};
my $stash = Package::Stash->new($anon);