Message-Id: <
199712040054.BAA04612@www.zweig.com>
To: perl5-porters@perl.org
Subject: Re: [PERL] buglet : minor but gratuitous inconsistency
between `my' and `local' (Patch included)
p4raw-id: //depot/win32/perl@611
if (type == OP_LIST) {
for (kid = cLISTOPo->op_first; kid; kid = kid->op_sibling)
my(kid);
- }
- else if (type != OP_PADSV &&
+ } else if (type == OP_UNDEF) {
+ return op;
+ } else if (type != OP_PADSV &&
type != OP_PADAV &&
type != OP_PADHV &&
type != OP_PUSHMARK)
my $d;
$c = "ok 3\n";
$d = "ok 4\n";
- { my($a,$c) = ("ok 9\n", "ok 10\n"); ($x, $y) = ($a, $c); }
+ { my($a, undef, $c) = ("ok 9\n", "not ok 10\n", "ok 10\n");
+ ($x, $y) = ($a, $c); }
print $a, $b;
$c . $d;
}