Yes, it's because on line 42 of your program, you're opening the database twice, and then on line 77, trying to write back different data to it from each of the 3 threads at once, without locking the tables.
That's what's causing your database corruption.
s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
| [reply] |
| [reply] |
Joost's guess of a dotted four address is not a legal IP address. To convert 1124711478 to a dotted four, I think that's 67.9.188.54. (Did I get my endian-ness right?) I would guess the library actually supports 32bit uint format, but who knows? Hm, I suppose the documentation might: Geo::IP
Both of the replies so far are pointing to your lack of real information, so how can you get really useful help? Reduce the problem to something small that doesn't use anything but the required components, and build up from there.
-- [ e d @ h a l l e y . c c ]
| [reply] |