Hi
please tell me is there common way to create new sub and automatically (in install) add it in hooks.cfg
I see save to this file only at Profile.pm in DESTROY sub
and after that hook will be added to this sub
When I should add new sub into hooks.cfg not to have problems during install when programm will try to add new hook for new sub.
is it possible at all to do both things in one install?
please tell me is there common way to create new sub and automatically (in install) add it in hooks.cfg
I see save to this file only at Profile.pm in DESTROY sub
and after that hook will be added to this sub
When I should add new sub into hooks.cfg not to have problems during install when programm will try to add new hook for new sub.
is it possible at all to do both things in one install?