X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=blobdiff_plain;f=ztest.pl;h=473e3806a63cb23e54ccad548748da242c4364ee;hp=9ecb4d9f11e9beba83a0a70b358cf19fdfb04a1d;hb=aa7443b391681a7f67c05fe1ca86a5b214e92e0c;hpb=8af01c7d35a10853213103bdbdcc67e0d9137b75 diff --git a/ztest.pl b/ztest.pl index 9ecb4d9..473e380 100755 --- a/ztest.pl +++ b/ztest.pl @@ -169,9 +169,15 @@ sub my_fetch_handler { } } +sub my_start_handler { + my $args = shift; + my $config = $args->{CONFIG}; +} + Net::Z3950::SimpleServer::yazlog("hello"); my $handler = new Net::Z3950::SimpleServer( + START => "main::my_start_handler", INIT => "main::my_init_handler", SEARCH => "main::my_search_handler", SCAN => "main::my_scan_handler",