in reply to Parsing .txt into arrays

Sample data would have been welcome. See How do I post a question effectively?.

Either your columns are separated by some given delimiter (eg: comma), in which case you can use Text::CSV, or your columns are aligned on a given position, in which case unpack can do the trick (although there might be a module that does it better)

use Data::Dump qw(pp); pp unpack "A5 A6 A2 A*", "Hi Hello World"; __DATA__ ("Hi", "Hello", "Wo", "rld")