Finally, there is the
script directory that contains the scripts needed to run, test, and modify your application.
myapp_server.pl is the development server; a self-contained HTTP server that you can use to run your application while you're developing it.
myapp_cgi.pl is a CGI script for deploying your application with a web server that cannot use mod_perl or FastCGI. It's very slow, so use it only as a last resort.
The last server is called
myapp_fastcgi.pl, which allows you to run your application as a FastCGI server. In Chapter 9, we'll see how to use these scripts to run our application in a production environment.
There are also two utility scripts in this directory. You can use the
myapp_test.pl script to ...