Klortho / Physics-Unit

Perl Physics::Unit module
http://search.cpan.org/perldoc?Physics::Unit
Do What The F*ck You Want To Public License
9 stars 4 forks source link

Overloading? #30

Closed tsibley closed 3 days ago

tsibley commented 9 years ago

Would you be open to using operator overloading for Physics::Unit and Physics::Unit::Scalar objects?

At the very least, it'd be nice to overload stringification to call ToString, but division, multiplication, etc. could all be supported.

Klortho commented 9 years ago

That's a fine idea. But I haven't worked on this repo in a long time, and not sure when I'd have time to. Pull requests welcome, of course.

tsibley commented 1 day ago

Well now, never say never I guess! :upside_down_face: