Why does this rule out the "foreach" loop? Do you really need a single print statement? If you really need a single print statement (because it's a homework requirement, maybe), consider looking at the join function.
In reply to Re: Access dynamic array elements
by Corion
in thread Access dynamic array elements
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |