Hi Wolfgang,
On 12/05/2011 09:32 PM, Wolfgang Wilhelm wrote:
I'm reporting an I18N problem.
I'm using Perl 5.10 on my Debian6 OS. I have a small head ache with
Proc::ProcessTable.
My locale is _not_ english, so the "if ($! ~= /Invalid/)" in the module
will fail on my box just for the fact that even when the expected OS
error happens then the "if" won't catch it correctly because the text is
not in english and consequently not "Invalid".
I can circumnavigate the problem by setting the locale to english before
calling the perl module and setting it back to the original.
May somebody knows how to correct the module. As I see it with my
limited sight on Linux I find that "if ($! == 22)" with 22 being the
error number instead of the error text. Nevertheless I don't know all
_english_ error messages so there may be alternatives.
No doubt, expecting English system error messages is bad. BUT
modules@perl.org is not a mailing list for support of any particular
module. It's a mailing list for administrative matters around modules,
PAUSE, and CPAN. For support/discussion/bug reports for individual
modules, you should check the module's documentation. If it says
explicitly how to proceed, please follow that advice. Otherwise, you can:
a) file a bug on the module in rt.cpan.org or whatever bugtracker the
module documentation suggests.
b) discuss your problem on public website such as perlmonks.org or
stackoverflow.com
c) contact the author using the provided (if any) email address.
Best regards,
Steffen
(for the PAUSE admins)