Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Why is this comparison failing?by johnrcomeau (Novice) |
on Oct 08, 2015 at 22:21 UTC ( [id://1144243]=note: print w/replies, xml ) | Need Help?? |
Dave-
Thanks. I should have known better.
But I was misled by what I assumed was Perl's rules for how variables were used to build double-quoted strings. I would have thought that floating point numbers that are not integers would show enough decimal places to indicate such. That's how I was misled into thinking that these cases were identical. I realize that I actually don't know how numbers are evaluated for double-quoted strings. Do you have a good reference?
Regards,
John
In Section
Seekers of Perl Wisdom
|
|