BEGIN {
if ("$]" >= 5.014) {
- plan tests => 7 + 13;
+ plan tests => 9 + 15;
} else {
plan skip_all => 'perl 5.14 required to lvalue assignment with prototype \[$@%]';
}
is $x, 3;
}
is $x, 1;
+{
+ temp $x;
+ is $x, undef;
+}
+is $x, 1;
our $y = 1;
is $y, 1;
is $y, 3;
}
is $y, 1;
+{
+ temp $y;
+ is $y, undef;
+}
+is $y, 1;