13.9. Run-Time OverloadingSince use statements are executed at compile time, the only way to change overloading during run time is: You can also say:eval " use overload '+' => \&my_add "; although the use of these constructs during run time is questionable.eval " no overload '+', '--', '<=' "; Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|