NAME

NetObj::MacAddress::Formatter::Dashes - formatting MAC addresses with dash separated hex values

VERSION

version 1.0.2

SYNOPSIS

use NetObj::MacAddress::Formatter::Dashes;
my $mac = NetObj::MacAddress->new('080020abcdef');
$mac->to_string('dashes'); # '08-00-20-AB-CD-EF'

DESCRIPTION

Helper module to format a MAC address as a string in hex dash delimited 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