On Mon, Jun 20, 2005 at 03:03:20AM -0700, Yitzchak Scott-Thoennes wrote:
> On Mon, Jun 20, 2005 at 10:44:30AM -0000, Piotr Fusik wrote:
> > I thought "the assignment" is "the = operator". So:
> > "for $[ = 0" is scalar assignment in list context.
> > "if (($[) = 0)" is list assignment in scalar context.
> > Am I wrong?
> 
> No, you are correct.  I believe Rick was speaking imprecisely, meaning
> that the first assignment is a scalar assignment and the the second a
> list assignment.

Right.  And that's what the tests are meant to, er, test.  So they
should probably read

    pass('optimized scalar assignment to $[ used to segfault');
    pass('optimized list assignment to $[ used to segfault');

but I think I've done enough damage.  Patches welcome. :-)

-- 
Rick Delaney
[EMAIL PROTECTED]

Reply via email to