http://qs321.pair.com?node_id=11120042


in reply to Re^4: A locale independent sprintf?
in thread A locale independent sprintf?

Unless you are putting your packages in blocks, locale does not exist in package scope — it is a lexical pragma, just like strict and warnings. So no locale at file scope will inhibit locale effects for everything after it in the same file, unless countermanded with use locale.