Tracing Errors

"Ian Warhurst" <[email protected]> Fri, 24 Sep 2010 11:38:51 +0100
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <4866B8191B734F229A4EF24DC74B05AC@NEXUS>
Hi

Can anyone tell me, when you get an error like (from the Apache error log in this case):

[Fri Sep 24 11:11:43 2010] [error] HTML::Template::Pro:in TMPL_IF at pos 10056: end tag:found < instead of > at pos 10080, referer: .....

how I can find where in my template the error is occuring?

I presume the "pos" numbers are the useful bits but I can't correlate those numbers to any position in the template..

Anyone know?

Thanks
Ian
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev