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
In Section
Seekers of Perl Wisdom
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";