use strict; use warnings; for my $x (1 .. 2) { my $y = $x + 1; my $x = $x - 1; }