On Thu, 30 Oct 2003 12:57:12 -0500, Greg Marr wrote: Hi Folks
> 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. Besides that, look closely at the line in error: my $new_output = "<h3>";#.$$output_ref."</h3>"; Perl will parse this as: my $new_output = "<h3>"; followed by # Comment... -- Ron Savage, [EMAIL PROTECTED] on 31/10/2003. Room EF 312 Deakin University, 221 Burwood Highway, Burwood, VIC 3125, Australia Phone: +61-3-9251 7067, Fax: +61-3-9251 7604 http://www.deakin.edu.au/~rons ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users