in reply to A locale independent sprintf?
But the locale settings should not affect sprintf unless you explicitly activate it with a use locale pragma.
If you have it activated, you can disable it just for the sprintf call as follows:
my $foo = do { no locale; sprintf ... };
In Section
Seekers of Perl Wisdom