UPDATE: fix typo in code, thanks Happy-the-monk :)my @list; foreach (0 .. 5) { push (@{$list[$_]},"some text"); }
In reply to Re: pushing onto multiple arrays
by Hena
in thread pushing onto multiple arrays
by martymart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |