This can't be your code. Your getDataFromConnect() sub starts with a return(). The problem you describe sounds like a scoping problem. Maybe $dataFromConnect and $dataToConnect are not what you think they are.
You don't need any of those Lock/Unlock calls. MLDBM::Sync does this for you.
In reply to Re^6: Global variables over many children
by perrin
in thread Global variables over many children
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |