use SuperSplit; $a = supersplit( '|',"\n","\n\n", $data_in_one_string); print $a->[0][1][2]; #will print 'Pokey Reese'