![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: Win32::Daemon memory leakby Athanasius (Archbishop) |
on Dec 23, 2015 at 02:55 UTC ( #1150989=note: print w/replies, xml ) | Need Help?? |
Hello tbsky, Can you give example code for a service you run, together with the command sequence you issue to control service installation, etc.? So far, I’ve not been able to get your code to work — but that’s likely because I don’t know enough about the Win32::Daemon module. :-( In the meantime, perhaps you could try a module such as Test::LeakTrace. Here’s how I would proceed:
BTW, the following isn’t very informative:
From the documentation, the correct way to report failure is like this:
Also, you have use Fcntl;, but I don’t think it’s actually used anywhere, is it? Hope that helps,
In Section
Seekers of Perl Wisdom
|
|