It looks like DNS::ZoneParse would be better suited for this than a simple split.
In reply to Re: split issue by Mr. Muskrat in thread split issue by mlhmich