There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I would suspect that something is different in the way the parameters get passed to focusPrev between the "with AutoLoader" and the "no AutoLoader" version. If $w contains $self (as would be customary), then $self->focusPrev will call itself forever (or until the memory is exhausted). Maybe output a dump of @_ on each call to focusPrev to see the difference between the AutoLoader version and the other one. Of course, this assumes that the widget isn't broken and the problem does not happen with the unmodified widget either :). Update: Thinking more about it, I wonder how this could work with the AutoLoader version at all. Removing the two subroutines should still keep focus switching working in both versions of the module. In reply to Re^3: Need help to remove AutoLoader in Tx::Text::SuperText
by Corion
|
|