Есть такой скрипт:
use DB_File;
my $dbfile = "/tmp/test";
# write
tie %mydb, 'DB_File', $dbfile, O_CREAT | O_RDWR;
for (0..26) {
$mydb{chr 65+$_} = $_;
}
untie %mydb;
Если запускаю просто как cgi то нет никаких проблем, а если с mod_perl
и через Apache::Registry то создается нулевой файл и говорится
[Mon Feb 18 15:41:24 2002] [error] Cant open DBM
--
Best regards,
Raul mailto:pir@xxxxxxxxxxx
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.