Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

DBSQL.pm question

Quote Reply
DBSQL.pm question
I followed the upgrade instructions, to migrate to the current version.

At the top of the DBSQL.pm file:

Code:
use Carp;
use strict;
use vars qw($VERSION $DBH $DEBUG $FOREIGN_CHAR $error); # Globals.
$FOREIGN_CHAR = 0;
$VERSION = '1.01';
$DEBUG = 0;
$DBH = undef;

Wouldn't those override the settings in the config file? Since you are assigning values after you've "used" them?

Or do they need to be defined here, but are overridden later _by_ the config file?

It's going to take awhile to get this new Links down, since it's tossing a bunch of concepts into the millieu all at once <G>

Quote Reply
Re: DBSQL.pm question In reply to
Are you referring to the Foreign char option? If so, then yes, it's a documentation slip. You will need to set it to 1 in both DBSQL.pm and Links.pm. I've fixed up both the Readme and the Links.pm file now.

Or are you referring to something else?

Cheers,

Alex
Quote Reply
Re: DBSQL.pm question In reply to
That's what I was referring to. Glad you caught it.