On Nov 30, 2004, at 1:42 AM, Ing. Branislav Gerzo wrote:

Sean Davis [SD], on Monday, November 29, 2004 at 17:45 (-0500) has on
mind:

SD> Probably the simplest way is to save all your output into a variable, say
SD> $html, rather than printing directly, as you would typically. Then, make a
SD> simple function that displays $html and performs any filtering you like.
SD> Such a subroutine might look like:


yes, I thought about this, I am just curious, if exist any other way.
This is ofcourse easy, but what about with really complex CGI sites ?


Perhaps you should tell us exactly what you want to do. For CGI, many cgi application environments build in a post-processing hook that is called right before the HTML is dumped to the browser. However, one still has to build this hook, and a VERY simplified version is what I sent earlier. Perhaps you need to let us know what your exact needs are and what constraints you must work within so that we can be more specific?


Sean


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to