#!/usr/bin/perl use CGI::Fast(); use MyApp; use utf8; # fastcgi usage as told in: http://cgiapp.erlbaum.net/index.cgi?FastCGI while( my $q = new CGI::Fast ){ $q->header(-charset => 'utf-8'); my $app = new Engine( QUERY => $q ); $app->run(); }