> Hi,
>    I'm trying to find my IP address from within Perl for eth0 and ppp0.
> Currently I run a regex on the output of ifconfig to extract his data -
> but, I'd like to do this from within Perl and it strikes me that this
> should be possible.
> 
> HELP! ANYBODY!
> 

Well this module seems to do what you want already:

http://search.cpan.org/~bluelines/Sys-HostIP-1.3.1/HostIP.pm

I would say have a go at using it, or if you really want to re-invent
the wheel (maybe for a different kind of vehicle) have a look at the source.

http://danconia.org



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to