TSa wrote: > Larry Wall wrote: >> So it might be better as a (very tight?) operator, regardless of >> the spelling: >> >> $x ~~ $y within $epsilon > > This is a pretty add-on to smartmatch but I still think > we are wasting a valueable slot in the smartmatch table > by making numeric $x ~~ $y simply mean $x == $y. What > is the benefit?
Larry's suggestion wasn't about ~~ vs. ==; it was about "within" as an infix operator vs. "within" as a method or an adverb. -- Jonathan "Dataweaver" Lang