use strict; use warnings; my $foo = undef; my $bar = undef; $foo += 1; $bar = $bar + 1;