laziness, impatience, and hubris | |
PerlMonks |
Re: find acronyms in a textby mzedeler (Pilgrim) |
on Jul 23, 2009 at 12:13 UTC ( [id://782656]=note: print w/replies, xml ) | Need Help?? |
When using split, write split /\s+/ in stead of split /\s/. Otherwise you'll get undef values every time there is two consecutive white space chars.
In Section
Seekers of Perl Wisdom
|
|