[dancer-users] What can you do in the before hook? - Where is the documentation?

Gabor Szabo gabor at szabgab.com
Thu Mar 27 16:08:46 GMT 2014


I was looking to set a catch-all route that will show "site is closed" and
reached  https://metacpan.org/pod/Dancer#hook
specifically the

hook before => sub {


It says what does the sub receive but it does not say what can one do with it.
If the return value matters, etc.

I am wondering if such documentation exists and if it would be a good idea
to include it here or to link to it?


More information about the dancer-users mailing list