DESCRIPTION
This module determines whether an e-mail address is well-formed, and
optionally, whether a mail host exists for the domain.
COPYRIGHT
Copyright (C) 1998, Maurice Aubrey <
[email protected]>.
This module is free software; you may redistribute it and/or
modify it under the same terms as Perl itself.
PREREQUISITES
This module requires perl 5.004 or later, and the Mail::Address module.
The nslookup utility is required if DNS lookups are desired.
INSTALLATION
To install this module, move into the directory where this file is
located and type the following:
perl Makefile.PL
make
make test
make install
This will install the module into the Perl library directory. If
you lack sufficient privileges for this, then you can specify an
alternate directory like this:
perl Makefile.PL PREFIX=/where/I/want/it/put
make
make test
make install
If the tests fail, you make need to change the path to the nslookup
utility. Go ahead and install the module and then read the POD to
determine if that is the case.
Once installed, you can use the following line to load the module into
your scripts:
use Email::Valid;
If you installed the module into an alternative directory, you will
need to let Perl know where it can be found:
use lib "/path/to/my/modules";
use Email::Valid;
See the POD documentation for further details.