Another option is the core module Text::ParseWords, which includes a shellwords function that likely does just the right thing.
In reply to Re^2: A nice little question for the insane
by kelan
in thread A nice little question for the insane
by Dragon_Magi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |