Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Minor querry!!

by Adam (Vicar)
on Jun 24, 2000 at 00:40 UTC ( [id://19665]=note: print w/replies, xml ) Need Help??


in reply to Minor querry!!

Use a regex:
if( $input =~ /^(\d+)$/ ) { $a = $1; } else { print "Please enter a number\n" }
or something like that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found