$ perl6
 > my $x='ls -al "Program Files" "Moe Curly Larry"';
ls -al "Program Files" "Moe Curly Larry"
 > &EVAL( "qww<$x>" ).perl
("ls", "-al", "Program Files", "Moe Curly Larry")
How about this?  Obligatory: Much EVAL, very danger wow.

On Sun, Jul 16, 2017 at 6:03 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> On 07/16/2017 06:01 PM, Brandon Allbery wrote:
>
>> Once again: http://www.mail-archive.com/perl6-users@perl.org/msg03986.ht
>> ml
>>
>> It includes a Grammar that supports arbitrarily nested quotes, which
>> can't be done in a plain regex: you could maybe handle one level, but not
>> nesting.
>>
>
> I understand now.
>
> I was only after one level.
>
> Thank you!
>
> -T
>

Reply via email to