in reply to socket leaks memory

Tried with the bundled perl5.8.8 on my debian system ( perl v5.8.8 built for i486-linux-gnu-thread-multi / Compiled at Dec 6 2006 23:05:53, my system's a mix of stable, testing and unstable ) and custom perl5.8.8, perl5.8.6 and perl5.8.5 on the same system.

None show any problems.

perl5.00504 runs if I remove "use warnings" and the constants you're explicitly importing (but not using!). Also no memory problems.

update: the libc used by my main perl is 2.6.1, kernel version 2.6.20