in reply to IPS bound to server

You could use Sys::HostIP:

#!/usr/local/bin/perl use strict; use warnings; use Data::Dumper; use Sys::HostIP; my $ip_address = Sys::HostIP->ip; my $ip_addresses = Sys::HostIP->ips; my $interfaces = Sys::HostIP->interfaces; print Dumper($ip_address, $ip_addresses, $interfaces, "\n");

Replies are listed 'Best First'.
Re^2: IPS bound to server
by Anonymous Monk on Dec 15, 2009 at 07:19 UTC

    Thanks

    As I can see all it does is parsing the output of "ifconfig" as I had in mind.

    Seems to be no other solutions are available.