Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by textual (Novice)
on Jan 26, 2011 at 13:07 UTC ( #884333=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    my  $server = MyWebServer->new(8080);
    our $pid    = $server->background();
    
  2. or download this
    package MyWebServer;
    
    ...
    }
    
    1;
    
  3. or download this
    use strict;
    use warnings;
    ...
    
    my $server        = MyWebServer->new(8080);
    $MyWebServer::pid = $server->background();
    
  4. or download this
    package MyWebServer;
    
    ...
    }
    
    1;
    
  5. or download this
    use strict;
    use warnings;
    ...
    
    my $server = MyWebServer->new(8080);
    Pid->set($server->background());
    
  6. or download this
    package MyWebServer;
    
    ...
    }
    
    1;
    
  7. or download this
    package Pid;
    
    ...
    }
    
    1;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-08-28 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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













    Results (335 votes), past polls