develooper Front page | perl.perl5.porters | Postings from February 2011

Re: [perl #84680] POSIX::isdigit() returns 1 for the empty string

Thread Previous | Thread Next
Mark Overmeer
February 24, 2011 01:43
Re: [perl #84680] POSIX::isdigit() returns 1 for the empty string
Message ID:
* Mark Overmeer ( [110224 09:25]:
> * Robert Lang ( [110224 08:33]:
> > # <URL: >

> The real way the implementation should be described is more like:
>     isdigit  Returns false if the string only contains digits.

Second attempt


       Returns true when all the bytes in the scalar are values in the
       digits range of the effective character-set. Does not respect
       the utf8 flag. Does not work with multi-byte character-sets.

I hope people will accept my (massive) patches to POSIX.pod for 5.14


       Mark Overmeer MSc                                MARKOV Solutions                         

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