WillMaster Possibillites Logo EzineSeek Award
Master Pre-Installation Tester
by
William Bontrager

Permission is granted to reprint the above article in its entirety, provided no reprints are sent in conjunction with unsolicited bulk email, provided no fee or other value is exchanged, provided no changes are made to the article, and provided the author's name, signature lines, and copyright line are printed with the article; except you may change the article's title.

There are a lot of free and inexpensive Perl CGI programs on the net, including our own Master Series at http://willmaster.com/a/6/pl.pl?cgi

Many CGI programs use Perl modules to do what they do.

A Perl module is a set of Perl code designed to do a specific function well. Modules for many different functions are readily available, so programmers use them. There is no need to reinvent the wheel, so to speak.

However, some web hosting service providers don't install all the popular modules. For example, Master Snooper and Master Sniffer both use the LWP::Simple module to retrieve web pages. Almost every request for assistance related to those two programs (which requests, admittedly, are few in number) is because of a missing LWP::Simple module.

Probably less then 5% of professional business hosting company's internet servers are missing the LWP::Simple module. But even that small percentage effects our technical support.

That's why Master Pre-Installation Tester was written -- so you can test your own server to see if any required modules are installed before you install the program that uses those modules.

Master Pre-Installation Tester can eliminate a lot of frustration.

While I was at it, I thought I might as well add some other features. So, besides testing for specific popular modules, Master Pre-Installation Tester also optionally:

  • Lists all the environment variables it is aware of (good if you need to know the server directory path to your public directory, for example).
  • Reports the version number of the Perl you are using.
  • Lets you know the full path to your current server directory.
  • Tries to find sendmail for you.
  • Lists the directories Perl searches when looking for modules that scripts ask for.
  • Let's you specify other modules to look for.

Get Master Pre-Installation Tester at http://willmaster.com/a/6/pl.pl?mpit and install it on your server. It's free to download and use. And it does not, itself, require any special modules.

Then, whenever you become interested in a CGI program, you can run Master Pre-Installation Tester and see whether or not your server meets its requirements.

Happy, testing!

Copyright 2000 William Bontrager
Programmer/Publisher, "WillMaster Possibilities" ezine
http://willmaster.com/possibilities/
subscribe-possibilities@willmaster.com
Business Home Page: http://willmaster.com/