|
Re: Same $dbh under different pids?: msg#00596apache.mod-perl
On Wed, Oct 30, 2002 at 06:05:51PM +0800, Philippe M. Chiasson wrote: > For the same reason that running this: > $> perl -e'fork; { $foo = {}; print "$$:$foo\n"}' > 1984:HASH(0x804c00c) > 1987:HASH(0x804c00c) > > produces this for me, every single time I run this program > > You are assuming that if (0x804c00c) is equal in different processes, > they must be pointers(or references, or handles) to the same thing. And > it is not the case ;-) Ok, that was what I was looking for! Explains it all. Thanks, Harmen -- The Moon is Waning Crescent (37% of Full) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Yahoo is moving to PHP ??: 00596, Jeff AA |
|---|---|
| Next by Date: | Perl Configured VirtualHost question: 00596, siberian |
| Previous by Thread: | Re: Same $dbh under different pids?i: 00596, harm |
| Next by Thread: | Re: Same $dbh under different pids?: 00596, Perrin Harkins |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |