diff _test/wmi.pl @ 49:16ada169ca75

migrating to the Eclipse IDE
author wizard@linux-odin.local
date Fri, 26 Feb 2010 10:49:21 +0300
parents da5bc24b3d3c
children 0f3e369553bd
line wrap: on
line diff
--- a/_test/wmi.pl	Fri Feb 26 01:43:42 2010 +0300
+++ b/_test/wmi.pl	Fri Feb 26 10:49:21 2010 +0300
@@ -1,12 +1,12 @@
-#!/usr/bin/perl -w
-use strict;
-
-use Win32::OLE;
-
-my $wmi = Win32::OLE->GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2");
-
-my $colServices = $wmi->ExecQuery("select * from Win32_NetworkAdapterSetting");
-
-print $_->Element,"\t",$_->Setting,"\n" foreach in $colServices;
-
-
+#!/usr/bin/perl -w
+use strict;
+
+use Win32::OLE;
+
+my $wmi = Win32::OLE->GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2");
+
+my $colServices = $wmi->ExecQuery("select * from Win32_NetworkAdapterSetting");
+
+print $_->Element,"\t",$_->Setting,"\n" foreach in $colServices;
+
+