Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

add new sub and register it in hooks.cfg

Quote Reply
add new sub and register it in hooks.cfg
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?
Subject Author Views Date
Thread add new sub and register it in hooks.cfg tamwub 2936 Jul 21, 2002, 7:34 AM
Thread Re: [tamwub] add new sub and register it in hooks.cfg
yogi 2852 Jul 21, 2002, 12:13 PM
Thread Re: [yogi] add new sub and register it in hooks.cfg
tamwub 2842 Jul 22, 2002, 1:12 AM
Thread Re: [tamwub] add new sub and register it in hooks.cfg
yogi 2834 Jul 22, 2002, 1:20 AM
Post Re: [yogi] add new sub and register it in hooks.cfg
tamwub 2827 Jul 22, 2002, 3:50 AM