RE: using a module to contain settings.

2000-06-24 Thread Miah Gregory
The way I made this work is to create a config module, which contains something similar to this: # global config file (filename is /mystuff/perl/MyConfig.pm) package MyConfig; use strict; use vars qw($var1 $var2 $var3); $var1 = "data1"; $var2 = 123124; $var3 = "more data"; 1; This can then

RE: Apache::Session

2000-06-19 Thread Miah Gregory
I have the problem on one server, and not the other.. I'll try to find out what's different between the two of them, and let you know. Cheers, Miah -Original Message- From: Jonathan Leto [mailto:[EMAIL PROTECTED]] Sent: Monday, June 19, 2000 6:28 PM To: Miah Gregory

Apache::Session

2000-06-19 Thread Miah Gregory
Hi all, Does anyone have any example code using either version 1.51 or 1.03? I can't get either version to work correctly on one server, but 1.03 works fine on another. The error I get off 1.03 on the new server is: Permission denied at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/SysVSemapho

Apache::Session error..

2000-06-14 Thread Miah Gregory
Hi all, I'm getting the following errors from a piece of code.. (in cleanup) Can't call method "prepare_cached" on unblessed reference at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Lock/MySQL.pm line 69 during global destruction. (in cleanup) Can't call method "release_all_locks" on an undefi

Apache::Session 1.52 problems

2000-06-09 Thread Miah Gregory
Hi all, I'm just writing to ask if anyone else has had problems with this version of the module? Thanks in advance. M. Gregory