The fix in this ticket fixes at least the first issue, for me. This issue showed up for me when running tests for perlbrew on FreeBSD with perl 5.12.4. This ticket has been open a while. Would someone consider looking at getting this fix committed, at least or perhaps even better finding a fix for the second issue too? Thanks, Steve