logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Rex::Hook - manage Rex hooks

Description

       This module manages hooks of various Rex functions.

Exported Functions

register_function_hooks{$state=>{$function=>$coderef}};
       Registers a $coderef to be called when $function reaches $state during its execution.

       For example:

        register_function_hooks { before_change => { file => \&backup } };

       $coderef may get parameters passed to it depending on the hook in question. See the given hook's
       documentation about details.

perl v5.40.0                                       2025-02-06                                     Rex::Hook(3pm)

Name

       Rex::Hook - manage Rex hooks

Synopsis

        use Rex::Hook;

        register_function_hooks { $state => { $function => $coderef, }, };

See Also