I'm trying to increment the name of an array so that each time through my sub routine the data I'm saving we'll be saved to a different array. Unfortunately I have not had success. Can you please offer some advice to a novice?
Each time through I would like to save to a new array.sub separate_data { @a = split / /, $data[$a]; }
Llamo_rin
update (broquaint): added formatting + <code> tags
In reply to incrementing array name by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |