Guruguhan N wrote:
> 
> Hi All,

Hello,

>           I wanted to check whether the user input is only a
> number and does contain any alphabet/s anywhere i.e. starting,
> end or in-between. Can somebody tell me how to do this?

That is a Frequently Asked Question and can be found in the standard perl
documentation (perlfaq4) by running this on the command line:

perldoc -q "How do I determine whether a scalar is a number/whole/integer/float"


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to