At 11:11 PM 8/15/00 -0400, Chaim Frenkel wrote:
>You are missing the beauty of vector/matrix operations.

No, I'm not; I'm opining that the vast majority of Perl users don't need to 
do vector/matrix ops, and that they don't belong in the core.


>The math folks
>really would like to be able to describe the operation wanted and have
>perl do the optimization.

Then maybe they should use a dedicate math extension to Perl, like PDL.

>Would adding another character be helpful
>
>         @result = @a x|| @b?
>
>         @result = @a ||| @b?
>
>or perhaps a modifier?
>
>         @result = @a || @b forall;
>
>(Blech, that just doesn read right.)

Perhaps we just need a two-list map, which aliases $a and $b like sort():

@result = map {$a || $b} @a,@b;



-------------------------------------------------------------------
Mark Cogan    [EMAIL PROTECTED]                     +1-520-881-8101     
ArtToday      www.arttoday.com

Reply via email to