--- Webpacus/lib/Webpacus.pm 2005/11/21 17:46:27 83 +++ Webpacus/lib/Webpacus.pm 2005/11/22 12:57:35 97 @@ -9,14 +9,25 @@ # -Debug: activates the debug mode for very useful log messages # Static::Simple: will serve static files from the applications root directory # -use Catalyst qw/-Debug Static::Simple Prototype Unicode::Encoding/; +use Catalyst qw/-Debug + Static::Simple + Prototype + Unicode::Encoding + Config::YAML +/; +# FormValidator +# FillInForm our $VERSION = '0.01'; # # Configure the application # -__PACKAGE__->config( name => 'Webpacus', encoding => 'ISO-8859-2' ); +__PACKAGE__->config( + name => 'Webpacus', + encoding => 'ISO-8859-2', + config_file => 'config.yml', +); # # Start the application @@ -57,6 +68,10 @@ # Forward to View unless response body is already defined $c->forward('View::TT') unless $c->response->body; + + $c->log->debug( $c->response->body ); + +# $c->fillform; # defaults to $c->req->parameters } =back