>perl -wMstrict -le "my @array = qw(one two three); for my $loopvariable (@array) { print $loopvariable; } " one two three >perl -wMstrict -le "my @array = qw(one two three); for (@array) { print $array; } " Global symbol "$array" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.