in reply to spliting problems on $_ ?

Change the =~ to = split returns a list.