http://qs321.pair.com?node_id=572896


in reply to Finding the IP of a local box

use IO::Interface::Simple; my $if1 = IO::Interface::Simple->new('eth0_or_your_if_name'); print $if1->address, "\n";
Boris