Front page | perl.perl6.language |
Postings from June 2001
Re: Coupla Questions
Thread Previous
|
Thread Next
From:
Damian Conway
Date:
June 6, 2001 14:59
Subject:
Re: Coupla Questions
Message ID:
200106062159.HAA39587@indy05.csse.monash.edu.au
> But with the above you still have abiguity, for example what does this do
>
> $bar =~ /$foo.colour($xyz)/;
"Looks like a method call with parens, so *is* a method call with parens."
> I may be remembering about interpolation into strings as "$file.ext" is
> going to be common. But I do think the $() approach is clean and
> unambiguous
I agree wholeheartedly.
But it's not as *convenient* as "unadorned" interpolation.
Expecially if we expect method calls to be frequently interpolated.
Damian
Thread Previous
|
Thread Next