develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH] Add a nextstate into empty blocks

Thread Previous | Thread Next
Arthur Bergman
August 22, 2001 04:14
Re: [PATCH] Add a nextstate into empty blocks
Message ID:
01-08-19 18.27, skrev Ilmari Karonen på följande:

> As for the op/sub_lval test, it expects
> sub lv0 : lvalue { }
> lv0 = (2,3);
> to die with "Can't return a readonly value from lvalue subroutine".  It
> now dies with "Empty array returned from lvalue subroutine in scalar
> context".  I looked into the code that generates this (pp_leavesublv)
> but it's getting a bit over my head.

Do we ever return an array? Shouldn't it be Empty list returned?

Any other comments on this?

Abigail has JAPHs using it, anyone else uses this bug?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About