> { > my @subs; > loop (my $x = 0; $x < 10; $x++) { > push @subs, { $^a + $x }; > } > $x--; > # ... > } > > This certainly does *not* DWIM in the current thought. And the silence > would be much more confusing than a simple syntax error the traditional > way with the same code; that is assuming use strict is enabled.
Oops, just realized that this doesn't DWIM anyway. Well, in that case, I don't mind the new behavior particularly. I still like the old way better, but this makes it easier to get used to.