tqisjim has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to find functions similar to Data::Types::is_int
From what I gather, these functions are implemented via Regex. I would prefer to use the built-in functions SvIOK, SvNOK, and SvPOK. I found a reference to grok_number, but the documentation is really sketchy. I'd prefer not to use a home-rolled version. Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Data::Types or grok_number
by tobyink (Canon) on Sep 25, 2012 at 16:37 UTC | |
by tqisjim (Beadle) on Sep 25, 2012 at 17:57 UTC | |
|
Re: Data::Types or grok_number
by Kenosis (Priest) on Sep 25, 2012 at 17:50 UTC | |
|
Re: Data::Types or grok_number
by davido (Cardinal) on Sep 26, 2012 at 03:28 UTC |