zef install Text::CSV This is a native port of Perl 5’s Text::CSV by the original author.
> On 14 Jul 2017, at 11:12, Philip Hazelden <philip.hazel...@gmail.com> wrote: > > If you haven't yet, you might want to look into a CSV parser. I think that if > you configure one of those to split on whitespace, that should give you the > results you want. > > (Now with added reply all.) > > On Fri, 14 Jul 2017, 08:42 Mark Carter, <alt.mcar...@gmail.com> wrote: > Is there a function that can decompose a string to an array separated by > whitespace, but also respecting double quotes, and prefereably escape > sequences? > > So, for example: > > my $d="hello \"cruel world\""; > > something-something($d) ; => ("hello", "cruel world")