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

Re: Re: [cgiapp] Problem with cgiapp_postrun method


Argg, stupid I am...

I think that I was a bit tired yesterday to identify this error.

Note that this sample code comes from the perldoc. 

I've attached to this mail a very small patch that corrects documentation in the Application.pm PERL module. Use the following command to apply it (in the perllib/CGI/ folder of course):

patch -p0 Application.pm < cgiapp_postrun_documentation.patch

Thanks,

Xavier Nicolovici

----Message d'origine----
>Date: Thu, 30 Oct 2003 12:57:12 -0500
>A: suppressed
>De: Greg Marr <suppressed>
>Sujet: Re: [cgiapp] Problem with cgiapp_postrun method
>
>At 11:43 AM 10/30/2003, suppressed wrote:
>>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;
>>}
>
>That last line should be $$output_ref = $new_output;
>Yes, there are some incorrect docs out there that show the form you 
>used.
>
>-- 
>Greg Marr
>suppressed
>
>
>---------------------------------------------------------------------
>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
>
>



MTA3NmMxMDc2CjwgICAgICRvdXRwdXRfcmVmID0gXCRuZXdfb3V0cHV0OwotLS0KPiAgICAgJCRv
dXRwdXRfcmVmID0gJG5ld19vdXRwdXQ7Cg=
---------------------------------------------------------------------
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.