Next | Tricks of the Wizards | 75 |
Some badly-designed library subroutine reads from or writes to a certain variable
You wish it
read from a file
wrote to a database
called a callback function
etc. etc. etc.
instead.
Solution: Tie the variable.
Now it does call a callback function instead
Next | Copyright © 2003 M. J. Dominus |