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

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

Thread Previous | Thread Next
From:
karl williamson
Date:
July 28, 2010 07:07
Subject:
Re: [perl #76756] PATCH: srand returns the seed
Message ID:
4C503996.70307@khwilliamson.com
Nicholas Clark wrote:
> On Wed, Jul 28, 2010 at 04:48:52AM -0400, Chas. Owens wrote:
>> On Tue, Jul 27, 2010 at 12:23, karl williamson
>> <perlbug-followup@perl.org> wrote:
>>> # New Ticket Created by  karl williamson
>>> # Please include the string:  [perl #76756]
>>> # in the subject line of all future correspondence about this issue.
>>> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76756 >
>>>
>>>
>>> Attached
>>>
>> If the seed can every be 0, then this breaks the following very important code:
> 
>> I guess it is time to print up new business cards.
> 
> No need:
> 
> commit da1010ecc50c91387eed9bcc349e6960909a3484
> Author: Nicholas Clark <nick@ccl4.org>
> Date:   Wed Jul 28 11:01:51 2010 +0100
> 
>     Make srand() return "0 but true" for 0, for backwards compatible behaviour.
> 
> 
> (which I had suggested as part of the original discussion)
> 
> Nicholas Clark
> 
But you suggested it in such a way that it went right over my head.  I 
didn't understand what you meant; and thought you were being funny, 
cause I don't have the background to to get it.  I'll have to examine 
your changes.

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