Slightly more portable perl.