1 |
8 |
ahitrov@rambler.ru |
# Copyright (c) 1998,1999 by Jonathan Swartz. All rights reserved. |
2 |
|
|
# This program is free software; you can redistribute it and/or modify it |
3 |
|
|
# under the same terms as Perl itself. |
4 |
|
|
|
5 |
|
|
# This is the global configuration file for HTML::Mason. |
6 |
|
|
|
7 |
|
|
%HTML::Mason::Config = ( |
8 |
|
|
# Default cached tie class. Change this to tie cache files to |
9 |
|
|
# something other than MLDBM. Normally this should be left alone. |
10 |
|
|
# |
11 |
|
|
'default_cache_tie_class' => 'MLDBM', |
12 |
|
|
|
13 |
|
|
# Automatic file extension used for the DBM format specified |
14 |
|
|
# below. For example, this is '' for DB_File and GDBM, '.db' |
15 |
|
|
# for NDBM, and '.pag' for SDBM. Mason needs to know this so it |
16 |
|
|
# can stat arbitrary DBM files. |
17 |
|
|
# |
18 |
|
|
'mldbm_file_ext' => '', |
19 |
|
|
|
20 |
|
|
# The DBM format used by MLDBM. Ideally this will be one of |
21 |
|
|
# DB_File or GDBM_File. The other formats (SDBM, ODBM, NDBM) are |
22 |
|
|
# inadequate for data caching purposes due to size limitations. |
23 |
|
|
# |
24 |
|
|
'mldbm_use_db' => 'DB_File', |
25 |
|
|
|
26 |
|
|
# The serializer used by MLDBM. Currently can be set to one of |
27 |
|
|
# Data::Dumper, Storable, or FreezeThaw. |
28 |
|
|
# |
29 |
|
|
'mldbm_serializer' => 'Storable', |
30 |
|
|
|
31 |
|
|
# Do we have the XS version of Data::Dumper? |
32 |
|
|
# |
33 |
|
|
'use_data_dumper_xs' => 1, |
34 |
|
|
|
35 |
|
|
# Determines whether to use Time::HiRes to record microsecond time |
36 |
|
|
# values in the system log. If this is 0, times will be recorded |
37 |
|
|
# in seconds only. Typically this should be 1 if and only if |
38 |
|
|
# Time::HiRes is available. |
39 |
|
|
# |
40 |
|
|
'use_time_hires' => 0, |
41 |
|
|
); |