in reply to Perl Console Window
i'm guessing you ment windows ;)
well.. if you install activeperl from activestate.com it will install a perl binary on your machine, of which you can use that directly... then... you will need both srvany.exe and instsrv.exe from:
http://www.pyeung.com/userdefinedservice.html
instsrv is the program that installs srvany as a service... and it's srvany that allows perl program to run...
follow the instructions on that site about installing a service, but the program you want to install as the service is your path to the perl.exe installed on your computer that comes as part of activeperl.. eg c:\ActivePerl\Perl\bin\perl.exe....
and also... while still in regedit in the same place as you were while following the other instructions you'll need to do this:
right click the Parameters key and select new, then String value, then in there type "AppParameters"..
then... click on AppParameters and click modify and type the path to your .pl perl program.. eg c:\myprogramms\myperlprog.pl..
close regedit... now when you go to your services part of Windows NT there will be service with the name you specified at the earlier step... you can now click start and stop to control it... :-) i think! i hope so anyway! good luck! i hope that answered the part of the question i could answer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i would slit my wrists for you
well.. if you install activeperl from activestate.com it will install a perl binary on your machine, of which you can use that directly... then... you will need both srvany.exe and instsrv.exe from:
http://www.pyeung.com/userdefinedservice.html
instsrv is the program that installs srvany as a service... and it's srvany that allows perl program to run...
follow the instructions on that site about installing a service, but the program you want to install as the service is your path to the perl.exe installed on your computer that comes as part of activeperl.. eg c:\ActivePerl\Perl\bin\perl.exe....
and also... while still in regedit in the same place as you were while following the other instructions you'll need to do this:
right click the Parameters key and select new, then String value, then in there type "AppParameters"..
then... click on AppParameters and click modify and type the path to your .pl perl program.. eg c:\myprogramms\myperlprog.pl..
close regedit... now when you go to your services part of Windows NT there will be service with the name you specified at the earlier step... you can now click start and stop to control it... :-) i think! i hope so anyway! good luck! i hope that answered the part of the question i could answer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i would slit my wrists for you
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Perl Console Window
by o(o_o)o (Scribe) on Jan 09, 2002 at 06:21 UTC |
In Section
Seekers of Perl Wisdom