support other perl versions