It looks to me like you introduced @x so that splice wouldn't destroy the original array, but then opted not to use splice after all.for my $i (0 .. $#datan/3) { print join(' ', @datan[$i*3 .. $i*3 + 2]), "\n"; }
In reply to Re^3: Break an array. I think.
by Roy Johnson
in thread Break an array. I think.
by vox2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |