I agree with your words since perl5.6 is used in our project, all my posts will be related to that version only.
But I tried to use newer version of perl leads to some other errors.
In our project, there are some other DLLs created in perl5.6 and using XSLoader they loaded.
When I try to move to newer version of perl, those DLLs failed to load and we cannot create them on our own.:-(