Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 perusing the Monastery: (3)
As of 2018-02-22 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (291 votes). Check out past polls.

    Notices?