Problems? Is your data what you think it is? | |
PerlMonks |
Re: (2) Split a string into individual wordsby pzbagel (Chaplain) |
on Feb 06, 2004 at 01:14 UTC ( [id://326957]=note: print w/replies, xml ) | Need Help?? |
Your code fails to keep 'the-hell' as one word which the original poster stated was a requirement. Also it doesn't answer the original posters question about why qw($a) only leaves then with 'a' after s///.
In Section
Seekers of Perl Wisdom
|
|