<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - PerlSvc: Passing a custom callback to a service - Comments</title>
 <link>http://community.activestate.com/forum-topic/perlsvc-passing-a-custom</link>
 <description>Comments for &quot;PerlSvc: Passing a custom callback to a service&quot;</description>
 <language>en</language>
<item>
 <title>PerlSvc: Passing a custom callback to a service</title>
 <link>http://community.activestate.com/forum-topic/perlsvc-passing-a-custom</link>
 <description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;ME&lt;/p&gt;
&lt;p&gt;BTW, I have PerlSvc 6.0.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/perlsvc-passing-a-custom#comments</comments>
 <category domain="http://community.activestate.com/forums/pdk-support-0">PDK Support</category>
 <category domain="http://community.activestate.com/forums/pdk-discussion-0">PDK discussion</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <category domain="http://community.activestate.com/os/windows-2000-pro-server">Windows 2000 Pro / Server</category>
 <category domain="http://community.activestate.com/os/windows-server-2003">Windows Server 2003</category>
 <category domain="http://community.activestate.com/os/windows-x64">Windows x64</category>
 <pubDate>Thu, 19 Apr 2007 13:08:03 -0700</pubDate>
 <dc:creator>MarkEarle</dc:creator>
 <guid isPermaLink="false">794 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
