Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Currently I am calling the same run mode for both frames, but I'm guessing this isnt the best idea. Any general thoughts will be much apprecaited. Thankssub frames{ my $self = shift; my $q = $self->query(); my $template_frames = HTML::Template->new(filename => 'c:/program +files/apache group/apache/cgi-bin/frames.html'); my $string = "?rm=result&"; foreach my $param ($q->param) { if ($param ne 'rm') { $string.= $param . "=" . $q->param($param) . "&";}} $template_frames->param(headers => $string . "view=header"); $template_frames->param(table => $string . "view=table"); return $template_frames->output; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: column sizes on the fly
by neniro (Priest) on Mar 04, 2004 at 17:14 UTC |