in reply to Finding the IP of a local box
my $if1 = IO::Interface::Simple->new('eth0_or_your_if_name');
print $if1->address, "\n";
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (340 votes). Check out past polls.