I was thinking more of trying to get rid of this line:

$ = split($,a)