Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: RE: Re: Minor query

by turnstep (Parson)
on Jun 25, 2000 at 00:01 UTC ( [id://19734]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
      print "Number?\n";
      redo unless <STDIN> =~ /^\d+$/;
    }
    
  2. or download this
    {
      print "Number?\n";
      redo unless <STDIN> =~ /^(\d+)$/ and $number=$1;
    }
    
  3. or download this
    print "Number?\n" while <STDIN> !~ /^\d+$/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 04:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found