Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IPでMACアドレスを調べたい。
use Net::ARP; $mac = Net::ARP::arp_lookup($dev,"192.168.1.1");
しかし、CPANページでは、この$dev変数が何のためにあるのか説明されていませんか?
$dev
$ devは、指定されたIPアドレスへの接続を試行するために使用するネットワークインターフェイスです。他の方法では、「lo」と「eth0」が例として示されています。