in reply to Re: Assigning scalars to scalar template includes
in thread Assigning scalars to scalar template includes
If keywords are found in <PREMIUM> only then:$main_template =~ s/%%searcresults%%/$pitem/g;
If keywords are found in both <RESULTS> and <PREMIUM> then:$main_template =~ s/%%premiumresults%%/$premiumitem/g;
$main_template =~ s/%%searcresults%%/$pitem/g; $main_template =~ s/%%premiumresults%%/$premiumitem/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Assigning scalars to scalar template includes
by dws (Chancellor) on Jul 01, 2004 at 19:18 UTC |