Speaking of perlfaq4 and stripping whitespace, check out trim() by japhy; a really neat sub that wraps and builds upon the FAQ-recommended solution.
--k.
In reply to Re: Strip leading and trailing whitespace from a string.
by Kanji
in thread Strip leading and trailing whitespace from a string.
by jmcnamara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |