App::Netdisco::Util::PortMAC
Helper subroutine to support parts of the Netdisco application.
There are no default exports, however the :all tag will export all subroutines.
:all
Returns a Hash reference of { MAC => IP } for all interface MAC addresses on all devices.
{ MAC => IP }
If you need to filter for a given device, simply compare the IP (hash value) to your device's IP.
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.