I have a module (Solaris::Kstat) which implements a tied hash entirely from XSUB code. This works fine in 5.6.1, but cores in 5.8.2. I've added some debug code, and whilst all the other XSUB tied hash methods are being called correctly, CLEAR isn't - it looks like Perl_hv_clear() is being called rather than the tied CLEAR method. The stack trace looks like this: Perl_hv_clear Perl_pp_aassign Perl_runops_standard S_run_body perl_run main i.e. no sign of the XSUB CLEAR method. I haven't had time to nail this down yet, but being lazy I wondered if anyone else had seem the same problem? -- Alan Burlison --Thread Next