I included the line where the constructor is called. The only thing regarding $session above that is the declaration of the variable. If I run the perl script by itself on the same server the perl script works fine, compiling the script using PDK and running it from the same directory doesn't. It gives the error I previously posted. The directory does exist, checked and it works for the perl script. Do you know what dependencies there are for CGI::Session?