Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 having an uproarious good time at the Monastery: (3)
As of 2016-10-01 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.