CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: mod_perl: Re: [jamesa00789] ModPerl::Util::exit: (120000) exit was called: Edit Log



Zhris
Enthusiast

Apr 5, 2012, 2:01 PM


Views: 52033
Re: [jamesa00789] ModPerl::Util::exit: (120000) exit was called

Hi,

I can't be certain but could be where you have called exit within an eval block. In this case, you could check if $@ matches the "ModPerl::Util::exit" error, then handle appropriately:


Code
eval { Exit(); }; 
if ($@)
{
if ($@ =~ m/ModPerl::Util::exit/)
{
exit;
}
else
{
die "Another error occurred: $@\n";
}
}


Chris


(This post was edited by Zhris on Jun 15, 2012, 2:41 PM)


Edit Log:
Post edited by Zhris (Enthusiast) on Jun 15, 2012, 2:41 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives