On 1/25/07 at 11:56 AM, [EMAIL PROTECTED] (Michael Peters) wrote: > > > Andrew Brosnan wrote: > > Hi, > > > > I'm benchmarking some code and wanted to include the results in > > webpages generated by print $template->output(). How could I also > > include the time taken by output()? > > You'll have to do it afterwards. The way CGI::Application::DevPopUp > does this is by creating a popup HTML, parsing the final HTML and > inserting it right before the </body> tag.
Thanks Michael. Actually, one of the reasons I'm doing this is to convince the customer to move to CGI::App instead of one huge script. I considered saving the post output() results elsewhere to review. Is that what you mean by do it afterwards? I can't think of a good way to actually include it in the page generated by output. Regards, Andrew -- Andrew Brosnan ........ [EMAIL PROTECTED] Broscom LLC .... Managed Services Provider <http://www.broscom.com> .. 1 207 925-1156 Programming, Consulting, Websites, Hosting ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users