Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Minor querry!!

by plaid (Chaplain)
on Jun 24, 2000 at 00:40 UTC ( #19664=note: print w/replies, xml ) Need Help??


in reply to Minor querry!!

You probably want something like:
if($a =~ /\D/) { # Not a number }
The /D matches non-digits, so this will be true if $a contains any non-digits.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://19664]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-05-31 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (177 votes). Check out past polls.

    Notices?