... my $loc = setlocale( LC_ALL, 'lt'); die 'Could not switch to locale "lt"!' if $loc ne 'lt'; ....