Yo-An Lin (林佑安) > Email-Sample > Email::Sample

Download:
Email-Sample-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Email::Sample - generate sample email for testing

VERSION ^

Version 0.01

SYNOPSIS ^

    use Email::Sample;

    my $emailgen = Email::Sample->new();
    ...

    $emailgen->add_valid_domains( [ 'url.com.tw'  , 'google2.com.tw'  ] );

    my @valid_emails = $emailgen->valid_emails( size => 20 );

    my @invalid_emails = $emailgen->invalid_emails();

DESCRIPTION ^

Email::Sample use Data::Random to generate a bunch of valid or invalid email for testing.

FUNCTIONS ^

valid_emails

add_valid_domains (ARRAY)

AUTHOR ^

Cornelius, <cornelius.howl at gmail.com>

BUGS ^

Please report any bugs or feature requests to bug-email-sample at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Email-Sample. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Email::Sample

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2009 Cornelius, all rights reserved.

This program is released under the following license: MIT

syntax highlighting: