http://www.perlmonks.org?node_id=583021


in reply to how to split input data ?

You could also use substr and loop through until you run out of characters.