]> iEval git - plack-app-gruntmaster.git/blob - lib/Gruntmaster/Page/Us/Entry.pm
Make contest problem entries more cacheable
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / Us / Entry.pm
1 package Gruntmaster::Page::Us::Entry;
2
3 use 5.014000;
4 use strict;
5 use warnings;
6 use Gruntmaster::Page::Base us_entry => '<tmpl_var name>';
7 our @ISA = qw/Gruntmaster::Page::Base/;
8 our $VERSION = '0.001';
9
10 sub _generate{
11 my ($self, $htc, $lang, $env, $us) = @_;
12 debug $env => "language is '$lang', user is '$us'";
13 local $_ = $us;
14
15 $htc->param(name => user_name);
16 $htc->param(town => user_town);
17 $htc->param(university => user_university);
18 $htc->param(level => user_level);
19 }
20
21 1
This page took 0.041538 seconds and 4 git commands to generate.