CGI::MiniFramework is CGI framework of a minimum composition. CGI::MiniFramework doesn't depend on other modules excluding strict and warning. You copies it onto an arbitrary place if you want to use this. You ended the preparation to use this framework only by this.

The easy one is easily done. Please do it difficult by another framework.

The application is executed. The return value of the method of the run must be output data.

This method executes your script in the next order.

The First ,setup method. You must are preparing setup method. This method should return run mode method. The Second ,pre_run method If you are preparing. It is possible to preprocess it by this pre_run method. The Third ,run mode method. This run mode method is your main process. The Fourth ,teardown method If you are preparing. It is possible to postprocessing it by this teardown method. If error_mode method is set when it makes an error of your run mode method, it is executed.