http://www.perlmonks.org?node_id=633840


in reply to Mimicking Unix shell quoting in Perl

Text::ParseWords might do the trick.
  • Comment on Re: Mimicking Unix shell quoting in Perl