my $spotter;
my $info;
my $expr;
+my $qsl;
while ($f = shift @list) { # next field
# print "f: $f list: ", join(',', @list), "\n";
$spotter = uc shift @list;
next;
}
+ if (lc $f eq 'qsl') {
+ $doqsl = 1;
+ next;
+ }
if (!$pre) {
$pre = uc $f;
}
$expr .= "\$f4 =~ m{$spotter}o";
}
+# qsl requests
+if ($doqsl) {
+ $expr .= " && " if $expr;
+ $expr .= "\$f3 =~ m{(QSL|VIA)}io";
+}
+
#print "expr: $expr from: $from to: $to fromday: $fromday today: $today\n";
# now do the search