It looks like that perl included in RH7 distro inherited quite serious
library bug from 5.6.0 Perl release. A detailed description of the
problem, together with a simple patch, can be found here:
It should be fixed in the next maitenance release but in the meantime
it is there.