Message-ID: <
20001229143404.A7762@deep-dark-truthful-mirror.perlhacker.org>
Tests for #8254.
p4raw-id: //depot/perl@8255
-print "1..47\n";
+print "1..49\n";
BEGIN {
chdir 't' if -d 't';
print "# '$newvar'.\nnot " unless $newvar eq "12";
print "ok 47\n";
+# Testing DWIM of foo = bar;
+sub foo : lvalue {
+ $a;
+}
+$a = "not ok 48\n";
+foo = "ok 48\n";
+print $a;
+
+open bar, ">nothing" or die $!;
+bar = *STDOUT;
+print bar "ok 49\n";
+unlink "nothing";
+