[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Problem with cgiapp_postrun method


Hi everyone,

I'm currently trying to use the cgiapp_postrun method to modify the body the run mode method creates.

Now, my problem is that I'm unable to make this function works. Here is the code I use within the cgiapp_postrun method:

sub cgiapp_postrun {
  my $self = shift;
  my $output_ref = shift;

  my $new_output = "<h3>";#.$$output_ref."</h3>";
  $output_ref = \$new_output;
}

The result I have in my web browser is always the text pointed by the $output_ref reference, but no way to see the $new_output result.

Any idea? What am I doing wrong?

Thanks in advance for the help,

Xavier Nicolovici


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.