http://qs321.pair.com?node_id=285359

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

Why does this work:
foreach my $item ($name,$nerd,$noodle,$froodle,) { $item =~ s/$i_seek/ /g; }
But this not?
my @look_for = ($name,$nerd,$noodle,$froodle,); foreach my $item (@look_for) { $item =~ s/$i_seek/ /g;
It's all very confusing!!