I have the following suggestions:
my $sent = 'D. discoideum and D. purpureum developmental programs revealed';
Is there a way to break the lines so that two consecutive words have. (dot) between them will be considered as one word?
Therefore, we hope to get this after splitting:
$VAR = ['D. discoideum', 'and', 'D. purpureum', 'developmental', 'programs', 'revealed'];
The standard s/\s+//g will split everything based on space.
source share