in reply to 02.5 == 25 - WTF?
I expect that trying print 010.5, "\n", which prints 85 might be a clue about what's happening. It seems like octal representation is always interpreted as an int, so you have int(010).5. In which case the dot is the concatenation operator.
|
---|
In Section
Seekers of Perl Wisdom