Perl Bug 15 - division by zero in short circuit expr is still triggered


perl version: 5.6-5.8
Operating System: i486-linux-gnu-thread-multi

An illegal division by zero that should be short-circuited is still triggering an error.

my $test = 33||(10/0);
The second portion of the 'a||b' should not be evaluated if a is true, which in this case it is, but in versions of perl 5.6-5.8 we see an 'illegal division by zero' error. When I discovered this it had already been fixed (or disappeared) in perl 5.10, though I can't find a perlbug for it.