in reply to Re^3: Generic Daemon Use
in thread Generic Daemon Use

Thanks again. Foregrounding it I see that the Generic.pm module is calling a subroutine named write_file (for writing the pid file) that doesn't exist. I'm not sure where that particular subroutine is supposed to be found but I wrote added one of my own to that module file and got the daemon to run and stay running. I'll play around some more with it. I just needed to get past this hurdle. Thanks for your help!

Replies are listed 'Best First'.
Re^5: Generic Daemon Use
by dirving (Friar) on Feb 03, 2007 at 02:53 UTC

    write_file is exported by File::Slurp, which the module uses at the top of the file. It looks like the return value from it isn't checked though, so if the problem is that it is failing to write the pidfile for some reason that would explain why your replacement of it with your own subroutine seems to help.

    -- David Irving
Re^5: Generic Daemon Use
by andyford (Curate) on Feb 02, 2007 at 18:54 UTC

    Wow, you're right, that routine never got implemented, just documented. Hee. I'd report it as a bug

    non-Perl: Andy Ford