Anybody know if exist some module how CGI::Out for buffering output in CGI
script ?

]- The other approach if  U don't want to append to var...then U can do
something like this :

my $buffer;
sub xprint { $buffer .= @_ };

possibly U will want to move this code into separate module...!!

then use xprint instead of print... and on the end of the script just :

print $buffer;

I also often direct all my output like errors,debug messages etc... trought
similar function... this aproach is also very useful 'cause if for example
want later to switch to other envoirment u need to correct just one function
or if U use Template system...

HtH
=====
iVAN
[EMAIL PROTECTED]
=====


Reply via email to