RE: module or method for ARP (Address Resolution Protocol)

2001-11-02 Thread Gary MacDonald
Title: RE: module or method for ARP (Address Resolution Protocol) Actually, I wasn't happy with either of my earlier answers, since the original question really only requested a Perl-equivalent of the "arp -a" command.  And all that "arp -a" does is display the arp cache table.   So, attache

WMI Help

2001-11-02 Thread Vinod Panikar
I just want to know how do I access the 'Status' values such as OK,Error,Unknown,Degraded etc..these I found from the WMI Studio..this returns an array.I don't know how to retreive the values of those.. Here is my small script:- use Win32::OLE qw(in with); $wmi = Win32::OLE->GetObject("winmgmts:

Timeout when starting a service

2001-11-02 Thread Ivan_Di_Domenico
Hi all, I created a script that utilizes Win32::Daemon to run as a service. When starting it, it gives a message that the service could not start in a timely fashion. However, it continues and starts successfully. It does the same thing when stopping the service. Is there a way to avoid this

RE: module or method for ARP (Address Resolution Protocol)

2001-11-02 Thread Gary MacDonald
Title: RE: module or method for ARP (Address Resolution Protocol) For a generic solution, you can use NetPacket::ARP which is available on CPAN. For a Windows-specific solution you can use the sample script below which is provided as part of the WMI SDK. I've modified the script slightly by

XML HELP

2001-11-02 Thread Mcguire, Timothy L (Tim), SOBUS
I am new to XML, but understand the basic functionality. If I have a well formed XML file and want to pull entire records where one property meets a certain criteria what modules should I use. Basically the XML file is a database and I want to parse or query that database to filter. Any pointers

module or method for ARP (Address Resolution Protocol)

2001-11-02 Thread Groenwold, Harmen (ICT) (HK)
Hello, I'm looking for a way to get the MAC address (for instance 00-01-56-FB-A7-34) from an IP address that I'm pinging, using Net::Ping. I can't find anything (method, function, ...) in the official documentation that accompanies ActivePerl, nor can I find a module on CPAN. Doe anyone know of a