Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Tie hash Segmentation fault

by jwkrahn (Monsignor)
on Jan 08, 2010 at 07:33 UTC ( #816234=note: print w/replies, xml ) Need Help??


in reply to Tie hash Segmentation fault

According to the documentation you are missing a comma after the third argument.

tie %s, 'Apache::Session::File', undef { Directory => '/tmp/sessions', };

Should be:

tie %s, 'Apache::Session::File', undef, { Directory => '/tmp/sessions', };

Replies are listed 'Best First'.
Re^2: Tie hash Segmentation fault
by gam3 (Curate) on Jan 08, 2010 at 12:39 UTC
    You are quite right, but it has nothing to do with the Segmentation fault. No text in a perl script should ever cause a segmentation fault.
    -- gam3
    A picture is worth a thousand words, but takes 200K.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://816234]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-12-06 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?