Marius Feraru wrote:
> Hans Dieter Pearcey wrote:
>> 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 ... }
>
> or, if all you want is your error message, you can use [EMAIL PROTECTED]>error
> (or [EMAIL PROTECTED]>as_brief, in terms of HTML::Mason::Exceptions).
> Excellent! Thanks a lot.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

