in reply to why need my in a foreach loop?
was a syntax error. You had to write:foreach my $var (LIST) { .. }
or use a package variable, as pointed out earlier in this thread.my $var; foreach $var (LIST) { .. }
I remember the days that
was actually seen as progress...foreach my $var (LIST) { .. }
|
|---|