jhlaros has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to collect the ip addresses for all interfaces on a multihomed node with Perl. In C I suppose I would use getifaddrs, is there a Perl equivalent?

Replies are listed 'Best First'.
Re: getifaddrs perl equivalent
by atemon (Chaplain) on Jul 20, 2007 at 02:48 UTC

    Hi monks,

    The CPAN package Sys::HostIP may be of your choice.

    Cheers

    --VC

    There are three sides to any argument.....
    your side, my side and the right side.

      Thanks, exactly what I was looking for. Searched Cpan but must have missed this one. Thanks again.