Simply Hao on Tue, 1 Aug 2000 12:32:59 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Apache::Session::File


I'm testing Apache::Session::File (and patching it, ack!).
Does anyone know why I get a core dump when I do this?

    use Apache::Session::File;
    umask 0000;

    my %session;
    my $id = 'bogus session id';
    eval {
        tie %session, 'Apache::Session::File', $id, {
            'Directory'     => '/path/to/sessions',
            'LockDirectory' => '/path/to/locks',
        };
    };
    unless ($@) {      # must've failed, but $@ not set anyway????
        tied %session; # core dump!
    }

Perl 5.004_04.  Oh wait, I might've answered my own question....

-Hao
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**