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

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

Thread Previous | Thread Next
Eric Brine
July 28, 2010 09:27
Re: [perl #76756] PATCH: srand returns the seed
Message ID:
On Wed, Jul 28, 2010 at 11:21 AM, Chas. Owens <> wrote:

> Does anybody know
> the full list of strings that are not warned about?

"0 but true" is the only special case (,
but there are many ways of writing zero other than "0". has quite a few.

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.

- Eric

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