On Fri, 5 May 2000, Pierre J. Nicolas wrote:

> Good Morning,
> 
> I just started using mod_perl, I'm still using the CGI.pm module, but I
> plan
> to convert.  I've loaded the Apache::Registry and I'm experiencing a
> strange
> problem.
> 
> I have this snippet:
> 
>        print "Content-Type: text/html\n\n";
>        print_template(file_handle, *file_handle_ref) {
>                              open file_handle()
>                              while (file_handle()) {
>                                        manipulate current_line
>                                        print file_handle_ref
> current_line
>                               }
>        }
> 
> where "*file_handle_ref" could be a reference to STDOUT,
> this snippet worked fine, but now it stopped working, instead
> I get the message "The document contained no data"

are you saying you re-open STDOUT?  if so, you break the tie to the
browser.  but, i don't understand the code you've posted, if you have a
tiny example that we can actually run, we should be able to see the
problem.

Reply via email to