in reply to perl network - programming help

If you know where to look, the following will produce your IP address from the command prompt:

ipconfig /all

It will list the IP address of every connected interface on your system, and the MAC address (physical address) for every interface and tunnel (whether or not a connection is established). For established TCP/IP connections it should also display each gateway IP, the DNS server addresses, etc.

Maranatha!

~Polyglot~