# We reply publicly or privately, depending how we were called
+use strict;
+
my $no_zfi;
BEGIN {
my $res_return = 5;
my $ua = new LWP::UserAgent;
- $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy"));
+ $ua->proxy('http', $::param{'httpProxy'}) if (&::IsParam("httpProxy"));
$ua->timeout(10);
my ($name, $href, $desc) = split(/\|/,$line);
if ($res_count < $res_return) {
- $result .= "$name ($desc) $href\n";
+ $result .= "$name ($desc) $href : ";
$res_display ++;
}
$res_count ++;
}
if (($query) && ($res_count > $res_display)) {
- $result .= "$res_display of $res_count shown. All at http://zaurii.com/zfi/index.phtml?p=r&r=$query\n";
+ $result .= "$res_display of $res_count shown. All at http://zaurii.com/zfi/index.phtml?p=r&r=$query";
}
return $result;
sub query {
my ($args) = @_;
&::performStrictReply(&queryText($args));
- return;
+ return;
}
1;