http://www.perlmonks.org?node_id=443218

uksza has asked for the wisdom of the Perl Monks concerning the following question:

Hello wise monks,

use warnings; use strict; my @l = qw/10 20 30/; #my $t += $_ foreach @l; my $t; $t += $_ foreach @l; print $t;
I know - commented code doesn't works, but can You tell my why?

stay in peace,
Lukasz