sub main_page { my $output = ''; my $template = 'main.tt'; $tt->process($template, $config, \$output) || die $tt->error(); return $output; } #### [% title %] #### Please log in. Username: Password:
## [% title %] ##
## Please log in. Username: Password:
Please log in.
Username:
Password: