Do you know where your variables are? | |
PerlMonks |
Re^3: result is not listening to ifby thanos1983 (Parson) |
on Jul 14, 2017 at 14:36 UTC ( [id://1195126]=note: print w/replies, xml ) | Need Help?? |
Hello again prospect, Regarding your question you can find a very similar question on the forum that contains many interesting answers: A function to determine if a string is numeric, similarly How to determine if something is numeric?. A most common way to convert a numerical string to int is casting int. For example from documentation:
Hope this helps, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|