… | |
… | |
28 | our $TICK_WATCHER; |
28 | our $TICK_WATCHER; |
29 | our $NEXT_TICK; |
29 | our $NEXT_TICK; |
30 | |
30 | |
31 | our %CFG; |
31 | our %CFG; |
32 | |
32 | |
33 | our $uptime; |
33 | our $uptime;#d# |
34 | |
34 | our $UPTIME; |
35 | $uptime ||= time; |
35 | $UPTIME ||= $uptime;#d# |
|
|
36 | $UPTIME ||= time; |
36 | |
37 | |
37 | ############################################################################# |
38 | ############################################################################# |
38 | |
39 | |
39 | =head2 GLOBAL VARIABLES |
40 | =head2 GLOBAL VARIABLES |
40 | |
41 | |
41 | =over 4 |
42 | =over 4 |
|
|
43 | |
|
|
44 | =item $cf::UPTIME |
|
|
45 | |
|
|
46 | The timestamp of the server start (so not actually an uptime). |
42 | |
47 | |
43 | =item $cf::LIBDIR |
48 | =item $cf::LIBDIR |
44 | |
49 | |
45 | The perl library directory, where extensions and cf-specific modules can |
50 | The perl library directory, where extensions and cf-specific modules can |
46 | be found. It will be added to C<@INC> automatically. |
51 | be found. It will be added to C<@INC> automatically. |