I am working on a script that needs to report the MAC address of an interface, as well as other specific information, back to a subnet allocation database. The purpose of this is to automate the entry of this information into the new database format.
Is there a default module for ifconfig(8)? I have found Net::Interface, but that isn't a default module. Filesystem size is a major issue, so module installation isn't an option unless absolutely crucial. Is there a module in the IO class of modules, or a hack, considered system() and parsing, but looking for something neater.