Jonathan Scott Duff wrote:
> 
> On Tue, Aug 15, 2000 at 05:47:53PM -0600, Nathan Torkington wrote:
> > I want
> >   @result  = @a || @b;
> > to be like:
> >   (@result = @a) or (@result = @b);
> >
> > That's what all my students keep expecting it to mean.
> 
> And that's what I keep wishing it meant too.
> 
> -Scott
> --
> Jonathan Scott Duff
> [EMAIL PROTECTED]



So we want to define operator||, in a list context, operating on two lists,
to choose between them and return a list, rather than imposing scalar context.



        We want ( LHS || RHS ) to mean, 


        ( LHS->BOOLEAN() ? LHS : RHS )


        Correct?

-- 
                          David Nicol 816.235.1187 [EMAIL PROTECTED]
                      Does despair.com sell a discordian calendar?

Reply via email to