The WMI class you'd probably want to talk to is
Win32_NetworkAdapterConfiguration
Change this line:
our $drives = $wmi->ExecQuery("Select * from Win32_LogicalDisk");
To read:
our $drives = $wmi->ExecQuery("Select * from
Win32_NetworkAdapterConfiguration where IPEnabled = 1");
And then use thi
On Mon, 27 Aug 2007, Suresh Govindachar wrote:
> Thanks for looking into this. I don't think the person who did the
> original work to embed perl in Vim is still activly interested in
> Vim. I can't live without vim and perl. Is there a better way to
> embed perl so as to be version indepen
Jan Dubois wrote:
> On Mon, 27 Aug 2007, Suresh Govindachar wrote:
>>
>> So ActiveState is "exporting" Perl_sv_2iv_flags and
>> Perl_newXS_flags in a way that is different from the
>> way they export other symbols.
>
> Nope, this is all incorrect. I've now downloaded the vim
On Mon, 27 Aug 2007, Suresh Govindachar wrote:
>
> So ActiveState is "exporting" Perl_sv_2iv_flags and
> Perl_newXS_flags in a way that is different from the
> way they export other symbols.
Nope, this is all incorrect. I've now downloaded the vim sources to
see what is really going on:
T
When mingw is used to build gvim with dynamic support for perl:
1) For older versions of ActivePerl, there is no
need to add -lperl58
The linker somehow knows that perl58 related
symbols that it cannot resolve will be resolved
at runtime via perl58.dll
2) For the lates
Solved with help from Brian Dessent on the MinGW mailing list.
Add -lperl58 at the very end (location matters) of the last command.
--Suresh
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listse
Sisyphus wrote:
> I would try adding -lperl58 to either this command (the command
> that builds if_perl.o):
>
>> gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400
>> -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_GETTEXT -DHAVE_LOCALE_H
>> -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOP
On Fri, 24 Aug 2007, Suresh Govindachar wrote:
> Sisyphus suggested linking with C:/opt/perl/lib/CORE/perl58.lib
> (which does have the symbols in it) in the command that creates
> if_perl.o and/or in the command that builds gvim.exe (which is also
> the command that reports the missing ref
Google: scriptomatic
Microsoft provides this tool to demonstrate how to utilize WMI.
One of the features is to output code in various languages, PERL being
one.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steve Howard (PFE)
Sen
You can access WMI via Perl pretty much the same way you would any other
automation object. I haven't used it to enumerate the NICs the way you want to
do, but a quick and dirty example of using WMI in Perl is one I wrote to
enumerate drives. You can probably use the windows scripting help to fi
I am not very well versed in wmi. Is there some other means of doing it
preferably using perl !!
Ankit
Foo JH <[EMAIL PROTECTED]>
08/27/2007 12:37 PM
To
Ankit Mehrotra <[EMAIL PROTECTED]>
cc
perl-win32-users@listserv.ActiveState.com,
[EMAIL PROTECTED]
Subject
Re: reading the Network Interf
If you're doing this via Windows, you can go via WMI.
Google: wmi win32_networkadapter
Ankit Mehrotra wrote:
>
> Hi all,
>
> I want to read the names of the NIC's of a blade server. Is there any
> ready made package through which I can read them ?
>
> Thanks
> Ankit
> =-=-=
12 matches
Mail list logo