NetObj::MacAddress::Formatter::Colons - formatting MAC addresses with colon separated hex values
version 1.0.2
use NetObj::MacAddress::Formatter::Colons; my $mac = NetObj::MacAddress->new('080020abcdef'); $mac->to_string('colons'); # '08:00:20:ab:cd:ef'
Helper module to format a MAC address as a string in hex colon delimeted 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.