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 WXWIN32 => WIN32,
27 WXMAC => MAC,
28 WXGTK => UNIX,
29
30 "BOOLEAN", "POSINT", "INTEGER", "ASCII", "PATH"
31 Settings data types (based on Firefox types).
32
33 "HOST", "HUMAN", "PROJECT"
34 Settings storage back-ends.
35
36 "PADRE_REVISION"
37 The SVN Revision (when running a development build).
38
39 "PADRE_BLACK", "PADRE_BLUE", "PADRE_RED", "PADRE_GREEN", "PADRE_MAGENTA",
40 "PADRE_ORANGE", "PADRE_DIM_GRAY", "PADRE_CRIMSON", "PADRE_BROWN"
41 Core supported colours.
42
43 "CONFIG_HOST"
44 DB configuration file storing host settings.
45
46 "CONFIG_HUMAN"
47 YAML configuration file storing user settings.
48
49 "CONFIG_DIR"
50 Private Padre configuration directory Padre, used to store stuff.
51
52 "PLUGIN_DIR"
53 Private directory where Padre can look for plug-ins.
54
55 "PLUGIN_LIB"
56 Subdirectory of "PLUGIN_DIR" with the path "Padre/Plugin" added (or
57 whatever depending on your platform) so that Perl can load a
58 "Padre::Plugin::" plug-in.
59
60 "LOG_FILE"
61 Path and name of Padre's log file.
62
63 "NEWLINE"
64 Newline style (UNIX, WIN or MAC) on the currently used operating
65 system.
66
68 Copyright 2008 - 2010 The Padre development team as listed in Padre.pm.
69
70 This program is free software; you can redistribute it and/or modify it
71 under the same terms as Perl 5 itself.
72
73
74
75perl v5.12.1 2010-06-11 Padre::Constant(3)