FormValidator::Simple::Plugin::NetAddr::MAC - MAC Address validation
use FormValidator::Simple qw(NetAddr::MAC);
my $result = FormValidator::Simple->check( $req => [
mac => [ 'NOT_BLANK', 'NETADDR_MAC' ],
] );
This module adds MAC Address validation commands to FormValidator::Simple.
-
NETADDR_MAC
Checks for a single MAC address format.
-
NETADDR_MAC_LOCAL
Checks for a single MAC address format and locally administered.
-
NETADDR_MAC_UNIVERSAL
Checks for a single MAC address format and universally administered.
https://github.com/ryochin/p5-formvalidator-simple-plugin-netaddr-mac
Ryo Okamoto ryo@aquahill.net
Copyright (C) Ryo Okamoto.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.