Next Hook::LexWrap 5


Hook::LexWrap has some tricky features:

  1. The postwrapper can examine and alter the function's return value

  2. The prewrapper can pre-empt the function's return value

  3. Inside the function, the prewrappers are invisible to caller

  4. Wrappers can be made to go away automatically when a block is exited

Next Copyright © 2003 M. J. Dominus