mhearse has asked for the wisdom of the Perl Monks concerning the following question:
my $output = ''; $output .= $q->start_html(-title => 'Widget Search Form'); $output .= $q->p; $output .= $q->start_form(); my $tmpl_obj = $self->load_tmpl('search.tmpl'); $tmpl_obj->param(request); #### THIS DOESN'T WORK #### $output .= print $temp_obj->output; #### NOR DOES THIS #### $tmpl_obj->output(print_to => $output); return $output;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Append object output to scalar
by Joost (Canon) on Jun 23, 2005 at 14:01 UTC | |
by mhearse (Chaplain) on Jun 23, 2005 at 14:05 UTC | |
|
Re: Append object output to scalar
by izut (Chaplain) on Jun 23, 2005 at 14:12 UTC | |
by izut (Chaplain) on Jun 23, 2005 at 14:21 UTC | |
|
Re: Append object output to scalar
by blazar (Canon) on Jun 23, 2005 at 14:07 UTC |