Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Tie hash Segmentation fault

by jwkrahn (Abbot)
on Jan 08, 2010 at 07:33 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-16 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found