On Mon, Jan 12, 2009 at 3:54 PM, Larry Wall wrote:
> On Mon, Jan 12, 2009 at 01:19:12PM -0800, Jon Lang wrote:
> : As well, isn't there a way to escape a character that would otherwise
> : be interpolated? If the intent were as you suppose, the original
> : could be rewritten as:
> :
> : $ per
On Mon, Jan 12, 2009 at 01:19:12PM -0800, Jon Lang wrote:
: As well, isn't there a way to escape a character that would otherwise
: be interpolated? If the intent were as you suppose, the original
: could be rewritten as:
:
: $ perl6 -e 'my $foo = "foo";say "\{" ~ $foo ~ "}"'
Sure, though in a
On Mon, Jan 12, 2009 at 1:08 PM, Larry Wall wrote:
> On Mon, Jan 12, 2009 at 03:43:47AM -0800, Jon Lang wrote:
> : On Mon, Jan 12, 2009 at 2:15 AM, Carl Mäsak wrote:
> : > Ovid (>):
> : >> $ perl6 -e 'my $foo = "foo";say "{" ~ $foo ~ "}"'
> : >> ~ foo ~
> : >
> : > Easy solution: only use doub
On Mon, Jan 12, 2009 at 03:43:47AM -0800, Jon Lang wrote:
: On Mon, Jan 12, 2009 at 2:15 AM, Carl Mäsak wrote:
: > Ovid (>):
: >> $ perl6 -e 'my $foo = "foo";say "{" ~ $foo ~ "}"'
: >> ~ foo ~
: >
: > Easy solution: only use double quotes when you want to interpolate. :)
: >
: > This is not rea
HaloO,
Tim Bunce wrote:
On Sun, Jan 11, 2009 at 04:41:12PM -0800, Ovid wrote:
I really don't think this is a bug, but it did confuse the heck out of me at
first. This *is* expected behavior due to how {} is interpolated in strings,
yes?
$ perl6 -e 'my $foo = "foo";say "<" ~ $foo ~ ">"'
On Sun, Jan 11, 2009 at 04:41:12PM -0800, Ovid wrote:
> I really don't think this is a bug, but it did confuse the heck out of me at
> first. This *is* expected behavior due to how {} is interpolated in strings,
> yes?
>
> $ perl6 -e 'my $foo = "foo";say "<" ~ $foo ~ ">"'
>
> $ perl6 -e
On Mon, Jan 12, 2009 at 2:15 AM, Carl Mäsak 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
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.
// Carl
On Sun, Jan 11, 2009 at 04:41:12PM -0800, Ovid wrote:
: I really don't think this is a bug, but it did confuse the heck out of me at
first. This *is* expected behavior due to how {} is interpolated in strings,
yes?
:
: $ perl6 -e 'my $foo = "foo";say "<" ~ $foo ~ ">"'
:
: $ perl6 -e 'my
I really don't think this is a bug, but it did confuse the heck out of me at
first. This *is* expected behavior due to how {} is interpolated in strings,
yes?
$ perl6 -e 'my $foo = "foo";say "<" ~ $foo ~ ">"'
$ perl6 -e 'my $foo = "foo";say "{" ~ $foo ~ "}"'
~ foo ~
Cheers,
Ovid
-
10 matches
Mail list logo