Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to determine a variable value is a number

by Cine (Friar)
on Aug 03, 2002 at 01:04 UTC ( [id://187261]=note: print w/replies, xml ) Need Help??


in reply to How to determine a variable value is a number

Replace ???? with /^[+-]?\d+$. Remove the [+-]? if you dont have a prefix sign.

T I M T O W T D I

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found