On Wed, Mar 02, 2005 at 03:17:03PM -0500, Stevan Little wrote:
> I have managed to track down two different bugs/issues with PUGS. I 
> explain them here in detail with examples, and todo_* tests for them 
> are included in the following test files:
>   t/op/shift.t
>   t/op/pop.t
>   t/op/push.t
>   t/op/unshift.t

The double evaluation bug has been fixed today. It was result of a
misunderstanding of the role of $_ when the subroutine body does 
not mention $_, but makes use of slurpy arrays (as is the default with
@*_), and has no invocants when actually used; in that case $_ is
probably best undefined (or bound to the first non-invocant argument?
Can we get a ruling?); I have stopped evaluation for $_ in that case for
now, which solves the double evaluation bug.

Thanks,
/Autrijus/

Attachment: pgpWfbmi2Vrx8.pgp
Description: PGP signature

Reply via email to