Mark J. Reed wrote:
> Ok, I dkimmed through the synopses again and didn't see this offhand.
> 
> If I have two arrays @a and @b and I wish to create a two-element list
> out of them - a la Perl5 ([EMAIL PROTECTED], [EMAIL PROTECTED]) - what's the 
> correct way to do
> that in Perl6?   If it's still ([EMAIL PROTECTED], [EMAIL PROTECTED]), then 
> what do we call what
> the \ is doing there, now that references are supposed to be a
> behind-the-scenes  automagical thing?

I think it's a good question, considering this is worked for me in Perl 6:

my @c = ([EMAIL PROTECTED], [EMAIL PROTECTED]);

I'm not sure how to reconcile that with the spec I found for "\":

"The unary backslash operator captures its arguments, and returns an
object representing those arguments."

   Mark


Reply via email to