in reply to Using DBI::clone()

Howdy!

...well, each child is doing exactly the same thing immediately after the fork, so each one of those HASH(0x74fc2c) thingies is at the same address in the address space of each process, but not the same physical address. At least that is how I see it...

It suggests that memory allocation is very deterministic. :)

yours,
Michael

Replies are listed 'Best First'.
Re: Re: Using DBI::clone()
by simonm (Vicar) on Sep 30, 2003 at 17:44 UTC
    Yup -- the fact that the DBI::dbh objects are allocated into the same Perl address in each child doesn't mean that their internal state, such as a DBMS's session or connection ID, would be identical.

    You might try checking your database server to confirm that it knows about each of the connected clients.