Larry Wall skribis 2005-05-06 10:19 (-0700):
> If someone wants to use an array, I don't see why they wouldn't just use @.

Because it's an argument of a very generic function, and it could just
as well be a subref or hashref.

    sub mypipe($receiver, [EMAIL PROTECTED]) { @list ==> $receiver }

>     my %result <== [;] @pairgenerators;
>     my %result{()} = 1 <== [;] @keygenerators;
> Interestingly, reduction with [;] works at the top level and can't
> be confused with statement-final semicolon.

Nice.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to