eterzella has asked for the wisdom of the Perl Monks concerning the following question:
I have a daemon with Daemon::Generic.
When run:
linux-2xqo:~ # ./testebackup.pl start Starting teste server
linux-2xqo:~ # ./testebackup.pl stop Killing 14188
Daemon works fine.
But when compile using perlcc, perlcc -B daemon.pl -o daemon and run, dont work more.
linux-2xqo:~ # ./testebackup start Undefined subroutine &main::newdaemon called at testebackup.pl line 11.
linux-2xqo:~ # ./testebackup stop Undefined subroutine &main::newdaemon called at testebackup.pl line 11.
if this script work with perlcc I can continue using perlcc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Daemon::Generic with perlcc
by marto (Cardinal) on Mar 29, 2010 at 20:11 UTC | |
by eterzella (Initiate) on Mar 30, 2010 at 12:38 UTC | |
by marto (Cardinal) on Mar 30, 2010 at 12:40 UTC |