Automatically chomp all [%...%] directives

This makes the use of [%-...-%] unnecessary.
This commit is contained in:
Eelco Dolstra 2013-02-05 14:00:09 +01:00
parent f9948e6346
commit e555c7bb36

View file

@ -6,6 +6,8 @@ use Hydra::Helper::Nix;
__PACKAGE__->config( __PACKAGE__->config(
TEMPLATE_EXTENSION => '.tt', TEMPLATE_EXTENSION => '.tt',
PRE_CHOMP => 1,
POST_CHOMP => 1,
expose_methods => [qw/log_exists/]); expose_methods => [qw/log_exists/]);
sub log_exists { sub log_exists {