note renodino <ol> <li>What version of Perl are you using ? <li>What version of threads are you using ? <li>What version of threads::shared are you using ? </ol> And yes, you need to share the $res object. Every reference stored in a shared object must also be shared. And I don't know if a $res object can be shared. If it contains file handles or coderefs, or uses tie()s, than no. If its just an object with scalar members, then probably. Anything in-between will require the new shared_clone() capability (as you've used on $data above, for reasons that escape me, since you're just creating a hashref). <p> I suspect your app will need some refactoring to be able to use threads effectively, but as you've not posted any significant code, its a challenge to decipher your intent. <!-- Node text goes above. Div tags should contain sig only --> <div class="pmsig"><div class="pmsig-485015"> <hr></hr> <i><small>Perl Contrarian &amp; SQL fanboy</small></i> </div></div> 696074 696074