in reply to Re: A nice little question for the insanein thread A nice little question for the insane
Another option is the core module Text::ParseWords, which includes a shellwords function that likely does just the right thing.