bodmin has asked for the wisdom of the Perl Monks concerning the following question:
As soon as I put the code below into my perl page i get the following error: Use of uninitialized value during global destruction.
use lib '/www/facmedden/perl/lib'; use CGI::Session; use CGI::Simple; use Data::Dumper; $sid = param('sid') || undef; $session = CGI::Session->new ('driver:MySQL', $sid, {Handle => &opendb}); $sid = $session->id;
Any ideas as to what I am doing wrong?
20040223 Edit by BazB: Changed title from 'CGI::Session'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Uninitialised value during global destruction
by davido (Cardinal) on Feb 23, 2004 at 09:21 UTC | |
|
Re: Uninitialised value during global destruction
by bodmin (Sexton) on Feb 23, 2004 at 09:53 UTC | |
by jdtoronto (Prior) on Feb 23, 2004 at 14:36 UTC | |
|
Re: Uninitialised value during global destruction
by jdtoronto (Prior) on Feb 23, 2004 at 09:18 UTC | |
by bodmin (Sexton) on Feb 23, 2004 at 09:29 UTC |