NAME

Sisimai::Group - Classification utility class

SYNOPSIS

    use Sisimai::Group;

    my $e = '*******@gmail.com';
    my $v = Sisimai::Group->find( 'email' => $e );
    warn Dumper $v;
    $VAR1 = {
        'category' => 'web',
        'provider' => 'google'
    }

DESCRIPTION

Sisimai::Group find a category name and a provider name for classification.

CLASS METHODS

find( Email address )

find() returns hash reference which include the provider name and a category name of the email address like following:

    my $e = '*******@verizon.net';
    my $v = Sisimai::Group->find( 'email' => $e );
    warn Dumper $v;
    $VAR1 = {
        'category' => 'phone',
        'provider' => 'verizon'
    }

AUTHOR

azumakuniyuki

COPYRIGHT

Copyright (C) 2014 azumakuniyuki <perl.org@azumakuniyuki.org>, All Rights Reserved.

LICENSE

This software is distributed under The BSD 2-Clause License.