ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.480 by root, Thu Oct 8 05:09:43 2009 UTC vs.
Revision 1.481 by root, Sun Oct 11 00:24:35 2009 UTC

117our $BDB_DEADLOCK_WATCHER; 117our $BDB_DEADLOCK_WATCHER;
118our $BDB_CHECKPOINT_WATCHER; 118our $BDB_CHECKPOINT_WATCHER;
119our $BDB_TRICKLE_WATCHER; 119our $BDB_TRICKLE_WATCHER;
120our $DB_ENV; 120our $DB_ENV;
121 121
122our @EXTRA_MODULES = qw(pod mapscript); 122our @EXTRA_MODULES = qw(pod match mapscript);
123 123
124our %CFG; 124our %CFG;
125 125
126our $UPTIME; $UPTIME ||= time; 126our $UPTIME; $UPTIME ||= time;
127our $RUNTIME; 127our $RUNTIME;
170 my $reflect = JSON::XS::decode_json $_; 170 my $reflect = JSON::XS::decode_json $_;
171 $REFLECT{$reflect->{class}} = $reflect; 171 $REFLECT{$reflect->{class}} = $reflect;
172} 172}
173 173
174# this is decidedly evil 174# this is decidedly evil
175$REFLECT{object}{flags} = [grep $_, map /^FLAG_([A-Z0-9_]+)$/ && lc $1, keys %{"cf::"}]; 175$REFLECT{object}{flags} = { map $_ => undef, grep $_, map /^FLAG_([A-Z0-9_]+)$/ && lc $1, keys %{"cf::"} };
176 176
177############################################################################# 177#############################################################################
178 178
179=head2 GLOBAL VARIABLES 179=head2 GLOBAL VARIABLES
180 180

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines