Since 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.
HIVE: All information for read only. Please respect copyright! |