From: Johan V. <jvr...@sq...> - 2007-05-11 12:36:33
|
The result of Wx::wxVERSION seems to be produced with sprintf %f format, and therefore obeys the locale settings. $ env LANG=en_GB perl -MWx -wle 'print $Wx::wxVERSION' 2.006003 $ env LANG=nl_NL perl -MWx -wle 'print $Wx::wxVERSION' 2,006003 This gives funny problems when modules use code like: if( Wx::wxVERSION() lt '2.006003') { ... } I think wx::wxVERSION should always use dot-notation, regardless of the locale setting. -- Johan |