[Koha-bugs] [Bug 23723] using exit to stop sending output to browser doesn't work under plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 2 22:55:11 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23723

--- Comment #1 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Problem occurs only if we use exit inside eval block like:

eval {
        warn "in eval";
        exit;
};
warn "after eval";

Under CGI, this would print just "in eval". Bacause of interaction of
CGI::Compile which wraps system exit under plack we get both lines.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list