Message-Id: <E15HCUN-0000Rh-00.2001-07-02-23-48-19@mail18.svr.pol.co.uk>
p4raw-id: //depot/perl@11111
use strict;
use Config;
-print "1..14\n";
+print "1..15\n";
use B::Deparse;
my $deparse = B::Deparse->new() or print "not ";
LINE: while (defined($_ = <ARGV>)) {
chomp $_;
- @F = split(" ", $_, 0);
+ our(@F) = split(" ", $_, 0);
'???';
}
print "ok " . $i++ . "\n";
__DATA__
-# 1
+# 2
1;
####
-# 2
+# 3
{
no warnings;
'???';
2;
}
####
-# 3
+# 4
my $test;
++$test and $test /= 2;
>>>>
my $test;
$test /= 2 if ++$test;
####
-# 4
+# 5
-((1, 2) x 2);
####
-# 5
+# 6
{
my $test = sub : lvalue {
my $x;
;
}
####
-# 6
+# 7
{
my $test = sub : method {
my $x;
;
}
####
-# 7
+# 8
{
my $test = sub : locked method {
my $x;
;
}
####
-# 8
+# 9
{
234;
}
123;
}
####
-# 9
+# 10
my $x;
print $main::x;
####
-# 10
+# 11
my @x;
print $main::x[1];
+####
+# 12
+my %x;
+$x{warn()};