On Thu, Mar 29, 2007 at 03:30:08PM +0100, Oliver Jeeves wrote: > The problem is, whenever I die, I get a Mason stack trace object, > instead of just the string I specify. Whereas this is useful in some > places, in others it is not. > > How can I turn this off for particular chunks of code?
It might work to e.g. eval { local $SIG{__DIE__}; ... code ... } $SIG{__DIE__} is set in HTML::Mason::Request->exec. hdp. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users