I'm writting an application which makes quite a bit of use of eval {};
blocks for code that needs to atomically succeed or fail.

If there's an exception, I usually want to die in the eval block, and
log $@ afterwards.

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?

-Oli

Attachment: 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

Reply via email to