Update: What utter bollix! Didn't read the OP correctly.
tilly's suggestion for data structure is the better direction for you to be heading. However, your immediate printing problem can be solved by adding a new line:
print "@cards[0 .. 12]\n";
In reply to Re: Incrementing string arrays when used with foreach loops
by GrandFather
in thread Incrementing string arrays when used with foreach loops
by gctaylor1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |