in reply to seperating blocks of file content in an array
my @sentence = do { local $/; open my $fh, "<", $filename; split /(?=^>text \d+$)/m, <$fh>; }; [download]
Makeshifts last the longest.