use strict; use warnings; my @datan = ("1","2","3","4","5","6"); for ($_ = 0; $_ <= $#datan; $_ += 3) { print "@datan[$_..($_+2)]\n"; }
In reply to Re: Break an array. I think.
by TedPride
in thread Break an array. I think.
by vox2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |