Mercurial > pub > Impl
diff _test/wmi.pl @ 59:0f3e369553bd
Rewritten property implementation (probably become slower but more flexible)
Configuration infrastructure in progress (in the aspect of the lazy activation)
Initial concept for the code generator
author | wizard |
---|---|
date | Tue, 09 Mar 2010 02:50:45 +0300 |
parents | 16ada169ca75 |
children |
line wrap: on
line diff
--- a/_test/wmi.pl Fri Mar 05 20:14:45 2010 +0300 +++ b/_test/wmi.pl Tue Mar 09 02:50:45 2010 +0300 @@ -1,7 +1,8 @@ #!/usr/bin/perl -w use strict; -use Win32::OLE; + +eval "use Win32::OLE; 1;" if $^ =~ /win/; my $wmi = Win32::OLE->GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2");