push(@output, \%splitstring); # hashref instead of flat list return \@output;