laziness, impatience, and hubris | |
PerlMonks |
Re: Stopping an HTTP::Server::Simple serverby erroneousBollock (Curate) |
on Oct 26, 2007 at 18:38 UTC ( [id://647460]=note: print w/replies, xml ) | Need Help?? |
Perhaps you can use the background() method of the HTTP::Server::Simple object, which runs the server in the background (I assume it forks) and returns the PID of the running server. When you're done testing you can send a KILL signal to that PID. -David
In Section
Seekers of Perl Wisdom
|
|