Poet::Manual::Configuring(3pm) | User Contributed Perl Documentation | Poet::Manual::Configuring(3pm) |
Poet::Manual::Configuring - Built-in Poet configuration options
This is a list of configuration keys used by Poet itself. These may be placed in any Poet conf file, e.g. "local.cfg" or "conf/global/*.cfg".
Entries like "foo.bar" can be listed either in dot notation
foo.bar: 5
or as part of a hash:
foo: bar: 5
See Dot notation for details.
cache: defaults: expires_variance: 0.2 storage: file: driver: File root_dir: ${root}/data/cache memcached: driver: Memcached servers: ["10.0.0.15:11211", "10.0.0.15:11212"] compress_threshold: 4096 namespace: /some/component: { storage: file, expires_in: 5min } /some/other/component: { storage: memcached, expires_in: 1h } Some::Library: { storage: memcached, expires_in: 10min }
env: data_dir: /some/external/data/dir logs_dir: /some/external/logs/dir
log: defaults: level: info output: poet.log layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} [%p] %c - %m - %F:%L - %P%n" class: CHI: level: debug output: chi.log layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} %m - %P%n" MyApp::Foo: output: stdout
log: log4perl_conf: /path/to/log4perl.conf
mason: static_source: 1 static_source_touch_file: ${root}/data/purge.dat
server.load_modules: - DBI - List::Util - MyApp::Foo - MyApp::Bar
Poet
Jonathan Swartz <swartz@pobox.com>
This software is copyright (c) 2012 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2015-01-08 | perl v5.20.2 |