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: [EMAIL PROTECTED]
>De: Greg Marr <[EMAIL PROTECTED]>
>Sujet: Re: [cgiapp] Problem with cgiapp_postrun method
>
>At 11:43 AM 10/30/2003, [EMAIL PROTECTED] 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
>[EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
>              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to