summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/ValidateTemplates.pm
blob: e28abcb296d92334d42b8c825a7c262c29c6c246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This module implements various templates for formValidate()

package VNDB::Util::ValidateTemplates;

use strict;
use warnings;


TUWF::set(
  validate_templates => {
    id    => { template => 'uint', max => 1<<40 },
    page  => { template => 'uint', max => 1000 },
  }
);

1;