Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Checking for single digit

by Enlil (Parson)
on May 06, 2003 at 01:23 UTC ( #255782=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $input =~ /[0-9]/;
  2. or download this
    $input =~ /\d/;
    
  3. or download this
    21 
    dfjdfkfjd2 
    jf2kjf 
    9343kfd2
    
  4. or download this
    $input =~ /^\D*\d\D*$/;
    
  5. or download this
    $input =~ /^\d$/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://255782]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-05-24 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?