increase WHILE_MAX to allow very long lists of ports

This commit is contained in:
Oliver Gorwits
2012-01-22 17:26:13 +00:00
parent 36b8498f5a
commit 1d1a5270c9

View File

@@ -20,6 +20,9 @@ hook 'before_template' => sub {
# allow portable dynamic content
$tokens->{uri_for} = \&uri_for;
# allow very long lists of ports
$Template::Directive::WHILE_MAX = 10_000;
};
get '/' => sub {