"be consistent" | |
PerlMonks |
Re^2: How do I determine with a regular expression whether a scalar is a number/whole/integer/float?by thanos1983 (Parson) |
on Jul 12, 2015 at 00:08 UTC ( [id://1134339]=note: print w/replies, xml ) | Need Help?? |
Hello BrowserUk, You are right, I modified the question while you where trying to answer it. I am sorry for that. I noticed that I was testing two number 1 and 1.0 which will give the exact output. That is why I modified the code again. I have updated the testing code and also the output. Thank you for your time and effort reading and assisting me with my question.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|