- or download this
@words = split /\s+/, <DATA>
print join "\n", @words, "";
__DATA__
How are you?
- or download this
How
are
you?
- or download this
map { s/[\?\.\!]*//g; } (@words = split /\s+/, <DATA>);
- or download this
$msg =~ s/\bu\b/you/g; # Replace "u" with "you"
$msg =~ s/\br\b/are/g; # Replace "r" with "are"
...