syphilis has asked for the wisdom of the Perl Monks concerning the following question:
Note that there's no accompanying info indicating which line of code triggered the error.> perl -MPOSIX="setlocale" -le "$loc = setlocale( LC_ALL, 'Korean_Kore +a.949' ); print 'LOCALE: ' . $loc;" Locale 'Korean_Korea.949' is unsupported, and may crash the interprete +r. LOCALE: Korean_Korea.949
I suppose I could just file an issue, and see what the response is.### try.pl ### use strict; use warnings; use Inline C => <<'EOC'; void foo() { Perl_ck_warner_d(aTHX_ packWARN(WARN_LOCALE), "Locale is unsupported, and may crash the" " interpreter.\n" ); } void bar() { Perl_ck_warner_d(aTHX_ packWARN(WARN_LOCALE), "Locale is unsupported, and may crash the" " interpreter" ); } EOC foo(); bar(); __END__ Outputs: Locale is unsupported, and may crash the interpreter. Locale is unsupported, and may crash the interpreter at try.pl line 24 +.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Warning given, but no line number provided.
by LanX (Saint) on Aug 08, 2023 at 13:54 UTC | |
by syphilis (Archbishop) on Aug 08, 2023 at 15:33 UTC | |
by hv (Prior) on Aug 08, 2023 at 16:10 UTC | |
by nigelhorne (Initiate) on Jul 01, 2024 at 19:31 UTC | |
by syphilis (Archbishop) on Jul 02, 2024 at 00:44 UTC |