NetObj::MacAddress::Formatter::Dots - formatting MAC addresses in Cisco notation
version 1.0.2
use NetObj::MacAddress::Formatter::Dots; my $mac = NetObj::MacAddress->new('080020abcdef'); $mac->to_string('dots'); # '0800.20ab.cdef'
Helper module to format a MAC address as a string in hex dot delimited format.
Method to do the actual formatting. Used by NetObj::MacAddress.
NetObj::MacAddress
Elmar S. Heeb <elmar@heebs.ch>
This software is Copyright (c) 2015 by Elmar S. Heeb.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install NetObj::MacAddress, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NetObj::MacAddress
CPAN shell
perl -MCPAN -e shell install NetObj::MacAddress
For more information on module installation, please visit the detailed CPAN module installation guide.