in reply to Parse one line of variables in multi-line tab delimited text file
As you do more with Perl, also keep in mind CPAN ... the vast contributed-code library at http://search.cpan.org. No matter what you are doing, it has probably been done before, and there is probably “an embarrassment of choices” in CPAN for doing even very complicated things. In other words, as a general notion, “search before you write, because you might not have to write nearly as much original material as you first thought.”
“There’s More Than One Way To Do It™” ... including ways that you might never have thought of until you searched.