in reply to Re^4: LWP, DBI and Free to Wrong Pool error
in thread LWP, DBI and Free to Wrong Pool error

ne more thing. If you decide to use the Windows fork, do not use the sleep command in the parent or child. It hangs.

You sure? I've never encountered that:

C:\test>perl -le"if(fork){sleep 5;print'parent'}else{sleep 7;print'chi +ld'}" parent child

Got code to demonstrate it?

Also, Win32::Sleep( $milliseconds ); is better that 4-arg select, and is built-in (doesn't need a module).


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."