if ($allocated_to) {
push @where_clause, "UPPER(ALLOCATED_TO) LIKE UPPER('%$allocated_to%')";
push @entries, 'ALLOCATED_TO';
}
####
sub add_if_defined {
my ($columnname,$queryvar) = @_;
die "add_if_defined: First parameter (columnname) may not be empty (maybe you supplied columnname and queryvar in the wrong order ?)"
unless $columnname;
if (defined($queryvar) && $queryvar ne '') {
push @where_clause,"UPPER($columname) LIKE UPPER('%$queryvar%')";
push @entries, $columnname;
}
};
####
add_if_defined("ALLOCATED_TO",$allocated_to);
add_if_defined("CONTACT_PERSON",$contact_person);
####
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The
$d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
($c = $d->accept())->get_request(); $c->send_response( new #in the
HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web