increase WHILE_MAX to allow very long lists of ports
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user