Now that you've installed Catalyst, we are ready to create a simple application. In this chapter, we will be creating a basic application. We'll create the skeleton of the application and write some Catalyst actions (Perl code that gets executed on URL requests). Then we'll learn how to use the Template Toolkit (TT) to generate HTML output and finally, connect a SQLite database to Catalyst with
Catalyst comes with a script called
catalyst.pl to make this task as simple as possible.
catalyst.pl takes a single argument, the application's name, and creates an application with that specified name. The name can be any valid Perl module name such as