On Mon, 16 Apr 2007, Barry Michels wrote: > This probably has a very simple solution. I am returning > $template->output from a sub and then printing the results. Every time, > there's a trailing '1' at the end of the data. How do I eliminate it?
That 1 is likely the return value from print(). I don't know how it's getting printed, but I suspect the code you posted isn't the code you're running. I tried it and I didn't get a trailing one. Are you using CGI::Application perhaps? -sam ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users