As revdiablo suggests, pass a code reference that explicitly calls the subroutine by name so that the new definition will be found: irc_public => sub { &MyPackage::subname }.
In reply to Re: Caching of Subroutines
by simonm
in thread Caching of Subroutines
by £okì
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |