gam3 has asked for the wisdom of the Perl Monks concerning the following question:
This code is causing perl to issue a Segmentation fault on a Debian Squeeze machine.
oddlyuse Apache::Session::File; tie %s, 'Apache::Session::File', undef, { Directory => '/tmp/sessions', }; $s{'bob'} = "bill";
does not Seg fault.use Apache::Session::File; tie my %s, 'Apache::Session::File', undef, { Directory => '/tmp/sessions', }; $s{'bob'} = "bill";
UPDATE: fixed typos.
-- gam3
A picture is worth a thousand words, but takes 200K.
A picture is worth a thousand words, but takes 200K.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tie hash Segmentation fault
by jwkrahn (Abbot) on Jan 08, 2010 at 07:33 UTC | |
by gam3 (Curate) on Jan 08, 2010 at 12:39 UTC | |
Re: Tie hash Segmentation fault
by educated_foo (Vicar) on Jan 08, 2010 at 04:39 UTC | |
by gam3 (Curate) on Jan 08, 2010 at 12:32 UTC | |
by educated_foo (Vicar) on Feb 09, 2010 at 02:29 UTC | |
Re: Tie hash Segmentation fault
by BrowserUk (Patriarch) on Jan 08, 2010 at 07:18 UTC | |
Re: Tie hash Segmentation fault
by doug (Pilgrim) on Jan 08, 2010 at 17:20 UTC |
Back to
Seekers of Perl Wisdom