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

Re: [PATCH] [ID 20001223.002] lvalues in list context

Thread Previous | Thread Next
From:
Simon Cozens
Date:
January 9, 2001 03:59
Subject:
Re: [PATCH] [ID 20001223.002] lvalues in list context
Message ID:
20010109115913.A8038@pembro26.pmb.ox.ac.uk
On Mon, Jan 08, 2001 at 10:21:29PM -0600, Jarkko Hietaniemi wrote:
> > Shouldn't that be PL_modcount = 10000? An lvalue sub can return more
> 
> Uh-oh, I smell an abritrary number.  Maybe something out-of-band
> should be used to mark an unlimited number of return values?

That *is* an out-of-band number used to mark an unlimited number of
return values:

 % grep 10000 op.c | grep PL_modcount
        PL_modcount = 10000;
    PL_modcount = 10000;
    PL_modcount = 10000;
            if (PL_modcount < 10000 &&


-- 
He who makes a beast of himself gets rid of the pain of being a man.  
-H.S. Thompson

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About