in reply to Mojolicious hook

Sure, you can put calls to subroutines after the return statement of a sub, but the problem is that such subroutines call will never be reached in the control flow of the program (at least if it is an unconditional return statement). Those subroutine calls are just dead code for all practical purposes.