1Padre::Constant(3) User Contributed Perl Documentation Padre::Constant(3)
2
3
4
6 Padre::Constant - constants used by configuration subsystems
7
9 use Padre::Constant ();
10 [...]
11 # do stuff with exported constants
12
14 Padre uses various configuration subsystems (see "Padre::Config" for
15 more information). Those systems needs to somehow agree on some basic
16 stuff, which is defined in this module.
17
19 "WIN32", "MAC", "UNIX"
20 Operating Systems.
21
22 "WXWIN32", "WXMAC", "WXGTK"
23 Padre targets the three largest Wx back-ends and maps to the OS
24 constants.
25
26 These are superficially identical to the current operation system
27 constants, but are reserved to specifically differentiate between the
28 operating system in general and the Wx backend implementation, in case
29 the distinction becomes important at some point in the future.
30
31 WXWIN32 => WIN32,
32 WXMAC => MAC,
33 WXGTK => UNIX,
34
35 "BOOLEAN", "POSINT", "INTEGER", "ASCII", "PATH"
36 Settings data types (based on Firefox types).
37
38 "HOST", "HUMAN", "PROJECT"
39 Settings storage back-ends.
40
41 "PADRE_REVISION"
42 The SVN Revision (when running a development build).
43
44 "PADRE_BLACK", "PADRE_BLUE", "PADRE_RED", "PADRE_GREEN", "PADRE_MAGENTA",
45 "PADRE_ORANGE", "PADRE_DIM_GRAY", "PADRE_CRIMSON", "PADRE_BROWN"
46 Core supported colours.
47
48 "CONFIG_HOST"
49 DB configuration file storing host settings.
50
51 "CONFIG_HUMAN"
52 YAML configuration file storing user settings.
53
54 "CONFIG_DIR"
55 Private Padre configuration directory Padre, used to store stuff.
56
57 "PLUGIN_DIR"
58 Private directory where Padre can look for plug-ins.
59
60 "PLUGIN_LIB"
61 Subdirectory of "PLUGIN_DIR" with the path "Padre/Plugin" added (or
62 whatever depending on your platform) so that Perl can load a
63 "Padre::Plugin::" plug-in.
64
65 "LOG_FILE"
66 Path and name of Padre's log file.
67
68 "NEWLINE"
69 Newline style (UNIX, WIN or MAC) on the currently used operating
70 system.
71
73 Copyright 2008 - 2010 The Padre development team as listed in Padre.pm.
74
75 This program is free software; you can redistribute it and/or modify it
76 under the same terms as Perl 5 itself.
77
78
79
80perl v5.32.1 2021-01-27 Padre::Constant(3)