[Catalyst] "or die" replacement?
    Peter Edwards 
    peterdragon at users.sourceforge.net
       
    Fri Mar 17 00:50:26 CET 2006
    
    
  
>From what I remember from Writing Apache Modules In perl and C, "die" is a
bit dodgy under mod_perl. The substitute is just to >tell the request to
give up, it's a bad day.
Under mod_perl you can use
Apache->request->register_cleanup(\&somefunction);
We have a standard end routine and a confess & die routine. Under mod_perl
it doesn't really die, it's your responsibility to tidy up any global
variables.
Regards, Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060316/3aa80679/attachment.htm 
    
    
More information about the Catalyst
mailing list