That is overloading numeric conversion.
That sub will be called whenever an object is used in a context that expects a number.
In reply to Re^3: How does Math::GMP overload the assignment operator ? (more guessing)
by jcb
in thread How does Math::GMP overload the assignment operator ?
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |