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

Re: [PATCH @8404] Consolidated lvalue sub changes

Thread Previous | Thread Next
Jarkko Hietaniemi
January 12, 2001 14:48
Re: [PATCH @8404] Consolidated lvalue sub changes
Message ID:
On Wed, Jan 10, 2001 at 09:36:51PM -0800, Stephen McCamant wrote:
> Whew. The following patch against perl-current subsumes Simon's two
> recent lvalue subroutine patch (array and hash elements, and whole
> arrays and hashes), plus the everything from the working snapshot I
> posted earlier, plus croaks to keep returning an array to scalar
> lvalue context from segfaulting, plus a change to set attributes
> earlier (but keeping the later setting too, for the
> backwards-compatibility police), plus changes to enable lvalue returns 
> of array and hash slices and lvalue calls to substr(), pos() and
> vec(), and tests.

lib/b ain't right:

ok 12
# [ppleave ppenter ppnextstate ppleaveloop ppenterloop ppnull ppand ppdefined ppnull ppnull ppgvsv ppreadline ppgv pplineseq ppnextstate ppaassign ppnull pppushmark ppsplit pppushre ppnull ppgvsv ppconst ppnull pppushmark pprvav ppgv ppnextstate ppsubst ppconst ppunstack ppnextstate]
# vs
# [leave enter nextstate label leaveloop enterloop null and defined null null gvsv readline gv lineseq nextstate aassign null pushmark split pushre null gvsv const null pushmark rvav gv nextstate subst const unstack nextstate]
not ok 13
ok 14
# [Can't locate object method "terse" via package "B::SPECIAL" (perhaps you forgot to load "B::SPECIAL"?) at ../lib/B/ line 23.
CHECK failed--call queue aborted.
Pad of lexical names for comppadlist has 2 entries
0: ]
not ok 15
(I replaced B::Terse with the proposed wrapper.)

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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