On Mon, Jan 12, 2009 at 2:15 AM, Carl Mäsak <[email protected]> wrote: > Ovid (>): >> $ perl6 -e 'my $foo = "foo";say "{" ~ $foo ~ "}"' >> ~ foo ~ > > Easy solution: only use double quotes when you want to interpolate. :) > > This is not really an option when running 'perl6 -e' under bash, though.
$ perl6 -e 'my $foo = "foo";say q:qq({" ~ $foo ~ "})'
...or something to that effect.
--
Jonathan "Dataweaver" Lang
