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")

Reply via email to