Re: Trailing 1
Sam Tregar <[email protected]> Mon, 16 Apr 2007 17:14:48 -0400 (EDT)
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
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/