Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-08-15 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (159 votes). Check out past polls.

    Notices?