Greetings:
This excellent idea should give the search results a cleaner look and may even speed things up a little, no?
Does the following have to be set and repeated for each field according to the field name?
Exactly where in the html.pl (?) should it go?
Thanks much.
----
I have done it like this:
|;
if ($rec{'Whatever_Field'} ne "") {print qq|
$rec{'Whatever_Field'}
|;}
print qq|
JPDeni posted February 13, 1999 11:57 PM PST
------------------------------------------------------------------------
There's plenty of ways to write the same thing in Perl, but I prefer the
"positive" approach:
if ($rec{'FieldName'}) {
print qq|whatever|;
}
This excellent idea should give the search results a cleaner look and may even speed things up a little, no?
Does the following have to be set and repeated for each field according to the field name?
Exactly where in the html.pl (?) should it go?
Thanks much.
----
I have done it like this:
|;
if ($rec{'Whatever_Field'} ne "") {print qq|
$rec{'Whatever_Field'}
|;}
print qq|
JPDeni posted February 13, 1999 11:57 PM PST
------------------------------------------------------------------------
There's plenty of ways to write the same thing in Perl, but I prefer the
"positive" approach:
if ($rec{'FieldName'}) {
print qq|whatever|;
}