rjbs / Number-Tolerant

perl library for numbers with built-in tolerances
3 stars 4 forks source link

Smart match overloading #1

Closed Smylers closed 10 years ago

Smylers commented 12 years ago

Adds ~~ overloading support. Does the same as == overloading, but means that when accepts it.

This works with ~~ as currently implemented, and I believe it'd continue to work with any of the changes to smart match that've been proposed on P5P.

rjbs commented 10 years ago

thanks, merged! testing (re-building a new 5.8 for this!) and will release tonight

sorry this took me so long, I have no excuse :cry: