Add support for perl 5.12.4+