in reply to Re^6: Closure warning with Perl 5.14?
in thread Closure warning with Perl 5.14?
But my $x if COND; doesn't warn either, unless COND is false. Not sure what print(my $x = 1234) if 0; would be good for. Note also that print(my $x = 1234) if COND; does not have a my $x = EXPR if COND subexpression, not even on a textual level.
|
---|
In Section
Seekers of Perl Wisdom