Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Comparing decimal valuesby BrowserUk (Patriarch) |
on Jan 21, 2003 at 17:17 UTC ( [id://228752]=note: print w/replies, xml ) | Need Help?? |
Concatenating 'v' to the front of each version string and evaling using eq, gt,lt or cmp seems to work okay. I'm sure I saw 'vMMM.nnn.rr' described somewhere in the docs, but I couldn't find it anywhere just now?
If anyone can tell me why I can't supply a qw// list directly to my map2 sub
without getting syntax errors, I'd like to hear the explanation. Examine what is said, not who speaks. The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In Section
Seekers of Perl Wisdom
|
|