> > But it's not as *convenient* as "unadorned" interpolation.
   > 
   > Sometimes convenient has to give way

Here we differ. I think the frequency of the

        /$var.ident(whatever)/

pattern is likely to be low enough that method interpolation is a
better use for the syntax.


   > > Expecially if we expect method calls to be frequently interpolated.
   > 
   > I don't hear people screaming because it's difficult in perl5,

Mainly because they use /$var->{raw_attribute}/, which we want to discourage.
And which won't be available on opaque objects.

   
   > so I doubt it will be very frequent.

Perl 6's interface is likely to be far more OO than Perl 5's, so this may not
be the case. For example: Perl 5's $#array syntax becomes something
like @array.length (i.e. a method call)
   

   > But even the $() is easier than the current perl5 way to do it.

There we definitely do agree :-)

Damian

Reply via email to