easily switch between different implementations depending on which version of Perl is detected