![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Trimming whitespaces methodsby johngg (Canon) |
on Jun 30, 2008 at 14:33 UTC ( #694746=note: print w/replies, xml ) | Need Help?? |
My preference is to do the space trimming in two stages as it seems to be faster than either the capture or alternation methods.
The results.
I hope this is of interest. Cheers, JohnGG Update: Fixed code indentation problems caused by TABs
In Section
Seekers of Perl Wisdom
|
|