ActiveState Powered by ActiveState

ActiveState Community


PerlSvc: Passing a custom callback to a service

Posted by MarkEarle on 2007-04-19 13:08

Hello all,

I have a scipt I packaged with PerlSvc and it is running great however, I am wondering how do I pass this service a commandline option or custom callback. I have a custom handler for $SIG{USR1} but that is not working. I know that I can do this in C++ but I do not have an idea how to do this in PerlSvc. I have checked out the examples and read the documentation to no avail.

Any ideas?

Thanks,

ME

BTW, I have PerlSvc 6.0.

-->