Add example test suite
[gruntmaster-page.git] / lib / Gruntmaster / Page / Us / Entry.pm
CommitLineData
4aa8ba86
MG
1package Gruntmaster::Page::Us::Entry;
2
3use 5.014000;
4use strict;
5use warnings;
bb95f538
MG
6use Gruntmaster::Page::Base us_entry => '<tmpl_var name>';
7our @ISA = qw/Gruntmaster::Page::Base/;
4aa8ba86
MG
8our $VERSION = '0.001';
9
bb95f538 10sub _generate{
191f4979
MG
11 my ($self, $htc, $lang, $env, $us) = @_;
12 debug $env => "language is '$lang', user is '$us'";
7dc32473 13 local $_ = $us;
4aa8ba86
MG
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);
4aa8ba86
MG
19}
20
211
This page took 0.011409 seconds and 4 git commands to generate.