in reply to Re: Re: Filling In "The Gaps" in an Array
in thread Filling In "The Gaps" in an Array

If you can assume that there will always be the same amount of tabs, you could write the split as:
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