What do you mean by "reattach"? If you want to make it so it can be called as func(), you can use
*func = $func;
In reply to Re: anonymous sub, packages, global variables
by ikegami
in thread anonymous sub, packages, global variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |