in reply to
foreach with array elements problem
perlsyn
defines a foreach statement as:
LABEL foreach VAR (LIST) BLOCK
[download]
and it seems safe to assume that VAR means a scalar variable (though granted, it does not appear to say this explicitly in
perlsyn
).
Comment on
Re: foreach with array elements problem
Download
Code
In Section
Seekers of Perl Wisdom