Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

RE: RE: Re: Minor query

by mdillon (Priest)
on Jun 24, 2000 at 02:04 UTC ( [id://19676]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Minor query
in thread Minor querry!!

a slightly nicer fusion of your two methods is the following:
PROMPT: { chomp($a = <STDIN>); $a =~ tr/0-9.//cd; unless (length($a)) { print "Please enter a number\n"; redo PROMPT; } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://19676]
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: (2)
As of 2024-04-25 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found