in reply to CheckWeb - a new module
It seems to me that you are going about it all wrong. If you want to check the web server configuration, why not just check the web server configuration? Modules already exist to parse the Apache configuration format, etc. Instead of testing the indirect result (which may be influenced by other things), go to the source. You already need access to the web server to put your HTML files there. See if you can find the configuration files too.
If you want to check HTML that comes back from the webserver, there are already plenty of HTML testing modules out there. You don't need to come up with your own module because you have a particular use for these things. Test::Harness, Test::WWW::Mechanize, etc. can already do the sorts of things you need and already provide a widely-used, widely-tested, and generally accepted way of doing things. Modules such as HTML::Tidy, Test::HTML::Tidy, and the like will help you do more while writing less of your own code.
It seems to me that a better name would be something such as Test::WWW::Server::VerifyFeature. In any case, you need to find a top level namespace for this.
Good luck :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CheckWeb - a new module
by pileofrogs (Priest) on Sep 27, 2006 at 22:18 UTC |