NAME

NetObj::MacAddress::Formatter::Colons - formatting MAC addresses with colon separated hex values

VERSION

version 1.0.2

SYNOPSIS

use NetObj::MacAddress::Formatter::Colons;
my $mac = NetObj::MacAddress->new('080020abcdef');
$mac->to_string('colons'); # '08:00:20:ab:cd:ef'

DESCRIPTION

Helper module to format a MAC address as a string in hex colon delimeted format.

METHODS

format

Method to do the actual formatting. Used by NetObj::MacAddress.

AUTHOR

Elmar S. Heeb <elmar@heebs.ch>

COPYRIGHT AND LICENSE

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