http://www.perlmonks.org?node_id=608363


in reply to Re: Getting Ip Address
in thread Getting Ip Address

I suppose that you could ping all the IP addresses in your local subnet and then check the arp cache
fyi, often pinging the broadcast address (ie, 192.168.2.255) will suffice for this.