Bug#835344: document that my ... if will still do the my, despite the if

2016-08-24 Thread 積丹尼 Dan Jacobson
Gee that's terrible. Sure wish using it would cause a Warning.

Bug#835344: document that my ... if will still do the my, despite the if

2016-08-24 Thread Niko Tyni
On Wed, Aug 24, 2016 at 07:42:18PM +0800, 積丹尼 Dan Jacobson wrote: > Package: perl-doc > Version: 5.22.2-3 > Severity: wishlist > > Document that > my $a = $b if $c will still declare $a no matter if $c is true or false. The current behaviour is intentionally undocumented. From perlsyn.pod:

Bug#835344: document that my ... if will still do the my, despite the if

2016-08-24 Thread 積丹尼 Dan Jacobson
Package: perl-doc Version: 5.22.2-3 Severity: wishlist Document that my $a = $b if $c will still declare $a no matter if $c is true or false.