develooper Front page | perl.perl5.porters | Postings from September 2003

[PATCH] DynaLoader doesn't work when LC_NUMERIC=fr_FR

Thread Next
From:
Rafael Garcia-Suarez
Date:
September 12, 2003 05:51
Subject:
[PATCH] DynaLoader doesn't work when LC_NUMERIC=fr_FR
Message ID:
20030912144918.604e7454.rgarcia@hexaflux.com
I just got an horrible locale-dependent fatal error :

  DynaLoader object version 1.04 does not match $DynaLoader::VERSION 1,04

Patch below.
The strange thing is that it hasn't been discovered before.

--- ext/DynaLoader/DynaLoader_pm.PL     (revision 2476)
+++ ext/DynaLoader/DynaLoader_pm.PL     (working copy)
@@ -29,7 +29,7 @@
 
 use vars qw($VERSION *AUTOLOAD);
 
-$VERSION = 1.04;       # avoid typo warning
+$VERSION = '1.04';     # avoid typo warning
 
 require AutoLoader;
 *AUTOLOAD = \&AutoLoader::AUTOLOAD;
End.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About