Help for this page
# join results into a single variable; this may be empty my $results = join('', @results); # do the substitution. $main_template =~ s/%%searchresults%%/$results/g;