http://www.perlmonks.org?node_id=660303


in reply to Text::MicroMason

It's obviously too late to help the original poster, but for what it's worth, the latest versions of Text::MicroMason include support for a "-LineNumbers" option that should significantly improve this kind of error reporting, by including accurate line numbers matching the source template. I'm not sure what was causing the segfaults reported above, and that problem may still exist, but in the more common case of routine syntax errors or run-time exceptions, the above fix should help significantly. -Simon