$Foo::delHook = \&somehook; # or just $delHook if exported