in reply to changing a string to a numeric variable
Just to add a bit more info to the pile, try perldoc -q whole at a command prompt. It will list a bunch of different regular expressions useful for matching different kinds of string representations of numbers. Then once you read and digest some of those regular expressions (hopefully this isn't too much for a beginner, but hey, you gotta start somewhere), you might think about using Regexp::Common for convenience.
Good luck on the journey.
|
|---|