1Padre::Feature(3) User Contributed Perl Documentation Padre::Feature(3)
2
3
4
6 Padre::Feature - Constants to support currying of feature_* config
7 options
8
10 Padre::Config contains a series of "feature" settings, stored in the
11 "feature_*" configuration namespace. These settings are intended to
12 allow the optional removal of unwanted features (and their accompanying
13 bloat), and the optional inclusion of experimental features (and their
14 accompanying instability).
15
16 To allow both the removal and inclusion of option features to be done
17 efficiently, Padre checks the configuration at startup time and cooks
18 these preferences down into constants in the Padre::Feature namespace.
19
20 With this mechanism the code for each feature can be compiled away
21 entirely when it is not in use, making Padre faster and recovering the
22 memory that these features would otherwise consume.
23
24 The use of a dedicated module for this purpose ensures this config to
25 constant compilation is done in a single place, and provides a module
26 dependency target for modules that use this system.
27
29 Copyright 2008-2011 The Padre development team as listed in Padre.pm.
30
31 This program is free software; you can redistribute it and/or modify it
32 under the same terms as Perl 5 itself.
33
34
35
36perl v5.32.0 2020-07-28 Padre::Feature(3)