use if $locale, 'locale'; use if !$locale and $utf8 and $perl_version_ok, 'utf8';