Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How do you place words from a sentence into an array?by kvale (Monsignor) |
on Oct 26, 2004 at 15:56 UTC ( [id://402662]=note: print w/replies, xml ) | Need Help?? |
Use split to break the sentence into words:
This form of split uses the defaults of splitting $_ and using whitespace as a delimiter. -Mark
In Section
Seekers of Perl Wisdom
|
|