Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Finding the IP of a local box

by borisz (Canon)
on Sep 14, 2006 at 09:31 UTC ( #572896=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://572896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2016-06-28 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (359 votes). Check out past polls.