Boldra has asked for the wisdom of the Perl Monks concerning the following question:
Outputs the following on one of my customers machines (perl 5.6.1/win2k):use strict; use warnings; use Win32::OLE; my $foo = 7.5; print "foo is '$foo'\n"; my $winmgmts = Win32::OLE->GetObject("winmgmts:"); my $bar = 7.5; print "bar is '$bar'\n";
foo is '7.5' bar is '7,5'There's something spooky happening to my perl environment when I call that GetObject on winmgmts. It doesn't happen for all GetObject calls, only those with winmgmts.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::OLE->GetObject("winmgmts:") changes my locale
by Anonymous Monk on Apr 20, 2009 at 12:22 UTC | |
by Boldra (Curate) on Apr 20, 2009 at 13:45 UTC | |
by Anonymous Monk on Apr 20, 2009 at 13:51 UTC | |
by Boldra (Curate) on Apr 20, 2009 at 14:36 UTC | |
|
Re: Win32::OLE->GetObject("winmgmts:") changes my locale
by ww (Archbishop) on Apr 20, 2009 at 12:27 UTC | |
by Boldra (Curate) on Apr 20, 2009 at 13:39 UTC | |
by Corion (Patriarch) on Apr 20, 2009 at 13:43 UTC | |
by Boldra (Curate) on Apr 20, 2009 at 13:49 UTC |