With my limited perl knowledge I'm trying to understand a bit better how DBManSQL works and would appreciate more detailed help.

What I don't understand is that the following (from Home.pm) calls $GT::SQL::error

else {

local $^W;

my $error = $GT::SQL::error;

$error =~ s/\n/<br>\n<li>/g;

$self->add_form("<font color=red><ul><li>$error</ul></font>");

}

But I thought that GT = the directory name, SQL = the file name and error = the subroutine name. What exactly does error refer to because there is no sub error in GT/SQL.pm? Please explain.

Specifically what I am looking for (apart from wanting to understand how everything works) is the part of the scipt that loops through each field and determines if there is an error, what kind of error and on how many fields. Where can I find that code?

Gossamer Threads is a Vancouver-based company with over 23
years experience in web technology. From development to hosting, we
partner with leading organizations around the globe and help to build
their web presences, strategies and infrastructures.