Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Stop apache server

by Illuminatus (Curate)
on Mar 12, 2009 at 08:23 UTC ( #750139=note: print w/replies, xml ) Need Help??


in reply to Stop apache server

I am not sure I understand what you are really asking. If all you want to do is execute 'servicectl stop' from within perl, you can just:
my $result=`servicectl stop`;
$result will contain any output it produces

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2023-12-02 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (18 votes). Check out past polls.

    Notices?