At 2:09 PM -0400 7/15/02, Karl Glazebrook wrote:

>
>>On Monday, July 15, 2002, at 01:52 PM, Aaron Sherman wrote:
>>Sure, that's always an option. I think Perl has a lot going for it other
>>than the way vectorization happens, and with the ability to define your
>>own array behavior, you can pretty much do this however you want anyway.
>
>Yes but it would be nuts to have PDL arrays do things one way and inbuilt
>compact arrays do things another way.

Oh, I dunno. I don't think it's all that bizarre to have Arrays 
operate one way and Matrices operate another way. But, then, that's 
just me.

If you don't want to, you won't have to hyperoperate on matrices, or 
any other user-defined class, if you don't want to, as you're going 
to have to be able to override * for both the single element and 
aggregate case. The only real issue then is the behaviour of core 
arrays and hashes when dealt with in aggregate.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to