NAME
Parse::Extract::Net::MAC48 - Parse::Extract extraction template for MAC-48 addresses
SYNOPSIS
use Parse::Extract;
use Parse::Extract::Net::MAC48;
$myParser = new Parse::Extract();
$myMACTemplate = new Parse::Extract::Net::MAC48();
$myParser->registerTemplate( \$myMACTemplate );
#returns list of matched addresses
@addresses = $myParser->parse( $data );
#-OR-
$myMACTemplate = new Parse::Extract::Net::MAC48();
@addresses = $myMACTemplate->extract( $data );
DESCRIPTION
Parse::Extract::Net::MAC48 - Parse::Extract extraction template for MAC-48 addresses
MAC48 is a extractor template for use with Parse::Extract.
This module should be used whenever a data stream contains
desired MAC-48 addresses and a correct, efficient parser
is required. MAC48 has a near zero false negative rate and
a very low false positive rate. As with any Parse::Extract
extraction template, MAC48 may be used in combination
with other Parse::Extract extraction templates.
USAGE
new()
Constructor.
Returns new instance of MAC48.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make install
DEPENDENCIES
none
BUGS
This is currently pre-alpha software.
MAC48 is however now passing all test cases.
Please be aware that it will currently match addresses
containing mixed case. This was an intentional design
decision due to the ambiguity of hexadecimal.
Unfortunately it also causes a small amount of
false positives.
This may change to be configurable in the future.
AUTHORS, COPYRIGHT, AND LICENCE
Copyright (C) 2009, 2010 Charles A Morris. All rights reserved.
Additional contributions from: Irwin Levinstein <ibl@cs.odu.edu> Minhao Dong <mdong@cs.odu.edu>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.