Skip Menu |

This queue is for tickets about the SGI-FAM CPAN distribution.

Report information
The Basics
Id: 4052
Status: new
Priority: 0/
Queue: SGI-FAM

People
Owner: Nobody in particular
Requestors: ad [...] glinxs.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: AUTOLOAD depends on english error message
The autoload function contains the line if($! =~ /Invalid/) { Which depends on an english error message. As my linux distro is localized i have german error messages -> FAM will not work
From: nonopoubelle [...] hotmail.com
[guest - Wed Oct 8 12:04:42 2003]: A good fix would be to use the standard module Errno and refer to errors symbolically. That way you're independent from the language. I'm supposing the error that is meant is indeed EINVAL. instead of this line : if ($! =~ /Invalid/) { use this one : if ( $!{ EINVAL} ) { see post http://www.codecomments.com/PERL_Miscellaneous/message732923.html Show quoted text
> The autoload function contains the line > if($! =~ /Invalid/) { > > Which depends on an english error message. As my linux distro is > localized i have german error messages -> > > FAM will not work