=head2 register_hook ($hook_name, [$properties], $code)
hook 'before', {apps => ['main']}, sub {...};
hook 'before' => sub {...};
Attaches a hook at some point, with a possible list of properties.
Currently supported properties:
=over 4
=item apps
an array reference containing apps name
=back
The apps property (or support for any properties being passed) does not seem to exist, the best I can tell.
Would a PR to update the POD in Dancer2::Core::Hook be welcomed?
Quoting
Dancer2/Core/Hook.pm
:The apps property (or support for any properties being passed) does not seem to exist, the best I can tell.
Would a PR to update the POD in
Dancer2::Core::Hook
be welcomed?