http://www.perlmonks.org?node_id=806448


in reply to Re: eq vs ==
in thread eq vs ==

i would say that the correct way to compare use == with floating numbers is to not use floating numbers.

Update: as moritz said, i've wrongly used "compare" instead of "use =="