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

Re: [perl #76756] PATCH: srand returns the seed

Thread Previous | Thread Next
August 2, 2010 07:41
Re: [perl #76756] PATCH: srand returns the seed
Message ID:
Nicholas Clark wrote:
>I can see one potential crafty way to avoid the above inconsistency, which
>is to change sv_2pv_flags() so that it doesnt (completely) cache the string
>conversion for -0.

Eww.  This would violate the truth value rule, by having something that
stringifies as "-0" but is false.  Don't do it.


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