Search results for "module:Return::MultiLevel"
Return::MultiLevel - Return across multiple call levels
This module provides a way to return immediately from a deeply nested call stack. This is similar to exceptions, but exceptions don't stop automatically at a target frame (and they can be caught by intermediate stack frames using "eval"). In other wo...
PLICEASE/Return-MultiLevel-0.08 - 20 Dec 2021 11:59:48 UTC
lib/Plack/Middleware/Return/MultiLevel.pm
Sometimes when in a PSGI application you want an easy way to escape out of the current callstack. For example you might wish to immediately end processing and return a 'NotFound' or 'ServerError' type response. In those cases you might use the core m...
JJNAPIORK/Plack-Middleware-Return-MultiLevel-0.002 - 12 Sep 2014 23:43:45 UTC
lib/Plack/Middleware/Return/MultiLevel/Utils.pm
Ideally you'd invoke your Return::MultiLevel return points via one if these importable subroutines, rather than reaching into the "psgi_env" hash. This gives you better encapsulation and allows the underlying code to change without busted your use....
JJNAPIORK/Plack-Middleware-Return-MultiLevel-0.002 - 12 Sep 2014 23:43:45 UTC