Re: new in CGI::Session::Driver::postgredsql nonexisting



On Jun 29, 4:15 pm, IDK <ulvi...@xxxxxxxxx> wrote:
On Jun 29, 9:51 am, Joe Smith <j...@xxxxxxxxx> wrote:

IDK wrote:
With strict I only get loads of:
login: Global symbol "$s" requires explicit package name at ./login
line 25.

$s = sqlQuerry("SELECT id, pass FROM zerus.players WHERE
name='$user'")

Put "my" in front of the first time where the variable $s is used.
my $s = sqlQuerry...

Thanks!


How can the above code work?
"driver:postgresql:id:md5" should be "driver:postgresql;id:md5".
Atleast as I interpret the docs...

Well that works because parse_dsn in CGI::Session does the following :
my %dsn_map = map { split /:/ } (split /;/, $dsn_str);
Hence, it work for both : and ; ..

That solved one problem, but the big one still remains...

.