Module Test CGI script for Perl

It can sometimes be difficult to track down problems due to missing dependencies when deploying a CGI application to a shared host, especially when they don’t give you shell access or let you view the web server error logs.

So, I wrote this small CGI script to check for dependencies and let you know when certain modules are not present or are out of date. I bundle this will all of my Perl CGI apps, so I can tell right away if something is missing. I will develop the application locally, of course, but I will check the output of this script whenever I deploy to a new environment, whether it is a test server or production.

[ad]

This script is designed to have as few dependencies of its own as possible, so all it requires is CGI.pm. I think it is a pretty safe bet that any environment that is meant to run Perl CGI scripts will have CGI.pm.

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>