HEX
Server: Apache
System: Linux iad1-shared-b8-33 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: samfetchero1 (10301780)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/share/doc/libtext-reform-perl/examples/demo_locale.pl
use POSIX qw(locale_h);
setlocale(LC_ALL, "de");

# Get a reference to a hash of locale-dependent info
$locale_values = localeconv();

# Output sorted list of the values
for (sort keys %$locale_values) {
printf "%-20s = %s\n", $_, $locale_values->{$_}
}





__END__

use Text::Reform;

my @vals = (1.1,22.22,333.333);

print form 
']]]]]].[[',
[@vals];


print form 
']]]]]].[[',
[@vals];

setlocale(LC_CTYPE, "");

print form 
']]]]]].[[',
[@vals];