in reply to Re^3: erroneous warning involving locale and input encoding: perl bug?
in thread erroneous warning involving locale and input encoding: perl bug?
Thank you for the feedback. Before reporting it, I'll wait a bit to see if anyone with access to a later perl release can determine whether still happens there.
Does anyone know a way to suppress this warning while allowing any others to still be displayed? My code trips on several regular expressions, some of which occur inside loops, so I'm getting a lot of noise on the screen. I could have the shell filter stderr, but maybe there's a painless way to control perl warnings with this kind of granularity?Update: I see that the no warnings 'locale' pragma will silence this warning... but also probably others that I want to see. I reckon there's no way to silence just that specific warning. At least this will get the job done until the underlying bug is fixed.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: erroneous warning involving locale and input encoding: perl bug?
by dave_the_m (Monsignor) on Apr 18, 2017 at 08:58 UTC | |
by raygun (Scribe) on Apr 18, 2017 at 21:44 UTC | |
by raygun (Scribe) on Apr 22, 2017 at 00:43 UTC |