fix for Bug #86828

...n undefined value at MooX/CaptainHook.pm line 27