Using split instead of a regex may result in shorter code in this case, but you'll no longer have strict input validation, and the script will use up more RAM.
Update: See my longer answer below.
In reply to Re^2: Perl Regex
by smls
in thread Perl Regex
by Buddyhelp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |