On Sun, 10 Feb 2002, Janakiram Koka wrote:
> In some of my Perl scripts, I fetch a number of rows from my (MySQL)
> database, and then I want to output only some (not all) of the fields in the
> template. HTML::Template complains however if I don't output all of the
> fields. It is very convenient for me to fetch a whole row from the database
> and then output only the ones I want using HTML::Template. Not only would
> having to isolate the fields that are to be output be a real pain, but being
> forced to output all the fields seems like a serious limitation. How can I
> overcome this... any clues?
my $template = HTML::Template->new(filename => 'foo.tmpl',
die_on_bad_params => 0);
-sam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]