[San-Diego-pm] Problem

Al Tobey tobert at gmail.com
Thu Apr 24 16:09:45 PDT 2008


On Thu, Apr 24, 2008 at 1:49 PM, Joel Fentin <joel at fentin.com> wrote:
> This is the super-short explanation:
>
>  The perl code:
>
>  DispSuccessMsg();
>  sleep 10;
>  die 'fff';
>
>  In my laptop using a personal server (Apache 2.2), The success message
>  is displayed. Ten seconds later the program dies:
>  Software error: fff at .....pl line 116. This is what I want.
>
>  When I FTP the program to the internet and run it (Apache 1.3), it waits
>  the ten seconds and then displays all. This is what I don't want.
>
>  Suggestions please.

It's possible somebody has set $SIG{__DIE__} to disable die, either in
mod_perl startup or in a module that you're including.  Check out
"perldoc -f die" and look for the section on $SIG{__DIE__}.

-Al

>  --
>  Joel Fentin       tel: 760-749-8863
>  Email:            http://fentin.com/me/ContactMe.html
>  Biz Website:      http://fentin.com
>  Personal Website: http://fentin.com/me
>  _______________________________________________
>  San-Diego-pm mailing list
>  San-Diego-pm at pm.org
>  http://mail.pm.org/mailman/listinfo/san-diego-pm
>


More information about the San-Diego-pm mailing list