[EMAIL PROTECTED] writes:
: Okay, then:
: 
: @foo = @( @a + @b );            # @(), $(), and %() set context.
: 
: Easier to identify the operators, and little or no question about the
: context...

Well, sure, though it was already in list context from the assignment...

I do expect that @() and $() will be used for interpolating list and
scalar expressions into strings, and it is probably the case the $()
would be a synonym for scalar().  @() would then be a synonym for
the mythical list() operator.  Which probably, in Perl 6, turns out
to be equivalent to [...] when used in a scalar context, and a no-op
in list context.  That is, $() and @() would essentially be typecasts.

Larry

Reply via email to