Re: page finishes loading _after_ PerlCleanupHandler

2008-01-05 Thread Louis-David Mitterrand
On Sat, Jan 05, 2008 at 12:21:07PM -0800, Kate Yoak wrote: > > > Hi, while testing the PerlCleanupHandler in HTML::Mason: > > > > <%init> > > $r->push_handlers(PerlCleanupHandler => \&sleeptest); > > > > sub sleeptest { > > my $r = shift; > > $r->warn("BEFORE SLEEP"); > > sleep(10);

RE: page finishes loading _after_ PerlCleanupHandler

2008-01-05 Thread Kate Yoak
> Hi, while testing the PerlCleanupHandler in HTML::Mason: > > <%init> > $r->push_handlers(PerlCleanupHandler => \&sleeptest); > > sub sleeptest { > my $r = shift; > $r->warn("BEFORE SLEEP"); > sleep(10); > $r->warn("AFTER SLEEP"); > }; > > > I've noticed that the page onl

page finishes loading _after_ PerlCleanupHandler

2008-01-05 Thread Louis-David Mitterrand
Hi, while testing the PerlCleanupHandler in HTML::Mason: <%init> $r->push_handlers(PerlCleanupHandler => \&sleeptest); sub sleeptest { my $r = shift; $r->warn("BEFORE SLEEP"); sleep(10); $r->warn("AFTER SLEEP"); }; I've noticed that the page only finishes loading after the P