Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Stopping an HTTP::Server::Simple server

by erroneousBollock (Curate)
on Oct 26, 2007 at 18:38 UTC ( #647460=note: print w/ replies, xml ) Need Help??


in reply to Stopping an HTTP::Server::Simple server

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


Comment on Re: Stopping an HTTP::Server::Simple server
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://647460]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-08-31 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (351 votes), past polls