in reply to
Incrementing string arrays when used with foreach loops
Three questions that you might particularly want to answer:
What is the following line doing?
@suit = $suit;
[download]
How many times, through the whole run of the
outer
foreach
loop, does the single array
@cards
get modified?
What is the purpose of
@suits
?
Comment on
Re: Incrementing string arrays when used with foreach loops
Select
or
Download
Code
In Section
Seekers of Perl Wisdom