use strict; use warnings; my $longstring = "firstsecond thirdlast"; my @entries = split //, $longstring; print "@entries\n";