in reply to Re^2: Printing a strange 1 on page.
in thread Printing a strange 1 on page.

From the TT Docs:
By default, the processed template output is printed to STDOUT. The process() method then returns 1 to indicate success.
Just get rid of the "print" in front of "$tt->process(..", and your "1" will disappear.

            "XML is like violence: if it doesn't solve your problem, use more."