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

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

Thread Previous | Thread Next
From:
Eric Brine
Date:
July 28, 2010 09:29
Subject:
Re: [perl #76756] PATCH: srand returns the seed
Message ID:
AANLkTik1ngQ1=rWu1Oyc_bigEKBRZyt2fBzXZYsU-jvh@mail.gmail.com
On Wed, Jul 28, 2010 at 12:27 PM, Eric Brine <ikegami@adaelis.com> wrote:

> There's been a regression since that node was written. The following used
> to be silent.
>
> $ perl -wle'print 0+"0x0"'
> Argument "0x0" isn't numeric in addition (+) at -e line 1.
> 0
>
>

More correctly, I'm guessing it used to be silent.

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