http://qs321.pair.com?node_id=884361


in reply to Re^4: Stopping an HTTP::Server::Simple server
in thread Stopping an HTTP::Server::Simple server

Another possibility is that the op is trying to launch the webserver in one process invocation, and then kill it in another. In which case $pid will have to be written to/from a file.