in reply to split() help

just in case you actually want to  split on a single character with the value of 9 decimal ( \t, a horizontal tab) and not on the six character string indicated in your OP, remove the single-quotes from the  chr(9) in the assignment, i.e.

$re = chr(9);

and follow suggestions of the other respondents.