Hello,
I have to write a "daemon" in Perl, with the quite simple structure below :
sub test {
while(1) {
Oracle database connection;
$state = result of a database query;
if ( $state == 1 ) {
call to another function;
}
}
}
My function "test" works and makes its job perfectly. Despite this, I have
pointed a problem out : memory leak. Indeed, the memory size of the process
grows significantly during its running time, and this is not acceptable.
I begin to believe writing a such "daemon" in Perl is not a good idea, according
to articles I read recently. But if someone here has an idea, or suggestions to
help me, you would spare me a lot of time.
Thanks for help
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>