my @temp = split /\t/ => $_, -1;
and @temp will then always contain the same amount of fields. If the third argument of split is negative, to trailing empty fields will be skipped.
Abigail
In reply to Re: Filling In "The Gaps" in an Array
by Abigail-II
in thread Filling In "The Gaps" in an Array
by bivouac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |