';

Ilya Martynov's Website

Tue, 03 May 2005

Mail-CheckUser

Overview

This Perl module provides routines for checking validity of email address.

It makes several checks:

  1. It checks syntax of an email address.
  2. It checks if there any MX records or A records for the domain part of the email address.
  3. It tries to connect to an email server directly via SMTP to check if mailbox is valid. Old versions of this module performed this check via the VRFY command. Now the module uses another check; it uses a combina- tion of MAIL and RCPT commands which simulates sending an email. It can detect bad mailboxes in many cases.

This module was designed with CGIs (or any other dynamic Web content programmed with Perl) in mind. Usually it is required to quickly check e-mail addresses in forms. If the check can't be finished in reasonable time, the e-mail address should be treated as valid.

For details see documentation in distribution.

Download

You can download this module here or from your closest CPAN mirror.

Documentation

HTML documentation generated from POD is available from search.cpan.org.

Support

Send questions or bug reports directly on my email ilya@martynov.org.

[/software/checkuser] permanent link

HTTP-WebTest

Overview

HTTP-WebTest tests remote URLs or local web files

This module runs tests on remote URLs or local web files containing Perl/JSP/HTML/JavaScript/etc. and generates a detailed test report.

The test specifications can be read from a parameter file or input as method arguments. If you are testing a local file, Apache is started on a private/dynamic port with a configuration file in a temporary directory. The module displays the test results on the terminal by default or directs them to a file. The module optionally e-mails the test results. When the calling program exits, the module stops the local instance of Apache and deletes the temporary directory.

Each test consists of literal strings or regular expressions that are either required to exist or forbidden to exist in the fetched page. You can also specify tests for the minimum and maximum number of bytes in the returned page. You can also specify tests for the minimum and maximum web server response time. If you are testing a local file, the module checks the error log in the temporary directory before and after the file is fetched from Apache. If messages are written to the error log during the fetch, the module flags this as an error and writes the messages to the output test report.

Download

You can download this module here or from your closest CPAN mirror.

Documentation

HTML documentation generated from POD is available from search.cpan.org.

Support

You can use http-webtest-general@lists.sourceforge.net mailing list to discuss HTTP-WebTest or submit bug reports. You can subscribe on it here.

See Also

SourceForge.net project page.

[/software/webtest] permanent link