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

Re: I think b630937 (SvUOK docs) is wrong

Thread Previous | Thread Next
Dave Mitchell
January 18, 2013 11:56
Re: I think b630937 (SvUOK docs) is wrong
Message ID:
On Mon, Jan 14, 2013 at 06:28:15PM -0500, bulk88 wrote:
> davem, do you have an opinion on khw's
> > What would the implications be of changing the macro to match the prior
> > documentation, and return true if it is indeed SvIOK with a positive
> > number?
> which I understand to mean adding lt/gt check against the UV/IV in
> SvUOK macro?

I don't like this idea. I'm happy with your suggested doc change, which
documents the status quo:

> Returns a boolean indicating whether the SV contains an integer which
> must be interpreted as unsigned. An integer whose value is within the
> range of both an IV and an UV maybe be flagged as either.

The warp engines start playing up a bit, but seem to sort themselves out
after a while without any intervention from boy genius Wesley Crusher.
    -- Things That Never Happen in "Star Trek" #17

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