Split has a magical whitespace incantation:
$_ = ' foo bar baz '; print "'$_'\n" for split ' ';
So you don't need to trim leading or trailing whitespace to get the desired result.
In reply to Re^2: Looking for ways to speed up the parsing of a file...
by Anonymous Monk
in thread Looking for ways to speed up the parsing of a file...
by fiddler42
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |