Stephen Zander > Net-Interface-0.04 > Net::Interface

Download:
Net-Interface-0.04.tar.gz

Dependencies

Annotate this POD

Related Modules

MIME::Lite
Net::Pcap
Sys::Hostname
MIME::Types
LWP::UserAgent
Net::Telnet
IO::Socket
Inline::C
Net::Domain
more...
By perlmonks.org

CPAN RT

New  4
Open  4
View/Report Bugs
Module Version: 0.04   Source   Latest Release: Net-Interface-1.012

NAME ^

Net::Interface - Perl extension to access network interfaces

SYNOPSIS ^

  use Net::Interface;
  
  $if = Net::Interface->new ("lo0");
  $if->mtu (1024);

  foreach (Net::Interface->interfaces ()) {print $_->name;}

DESCRIPTION ^

Net::Interface is designed to make the use of ifconfig(1) and friends unnecessary from within Perl. It provides methods to get at set all the attributes of an interface, and even create new logical or physical interfaces (if your O/S supports it).

AUTHOR ^

Stephen Zander <gibreel@pobox.com>

SEE ALSO ^

perl(1), ifconfig(8)

syntax highlighting: