use strict;
use warnings;
-use Test::More tests => 91;
+use Test::More tests => 92;
my %_re = (
bareword => sub { qr/^Bareword\s+['"]?\s*$_[0]\s*['"]?\s+not\s+allowed\s+while\s+["']?\s*strict\s+subs\s*['"]?\s+in\s+use\s+at\s+$_[1]\s+line\s+$_[2]/ },
eval { strict->import };
is($strict, 1, 'the strict subroutine was called');
+# Test hash keys
+my $c = 0;
my %h = (
a => 5,
b => 7,
);
+sub a { ++$c }
+sub b { ++$c }
+is($c, 0, "hash keys shouldn't be converted");
my $foo;
our @foo;