Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [TheStone] $GT::SQL::error;

Quote Reply
Re: [TheStone] $GT::SQL::error; In reply to
Thanks for your reply.

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?

Thank you.

Simon.
Subject Author Views Date
Thread $GT::SQL::error; jai 4063 Oct 28, 2002, 5:32 PM
Thread Re: [jai] $GT::SQL::error;
604 3911 Oct 29, 2002, 10:05 AM
Thread Re: [TheStone] $GT::SQL::error;
jai 3900 Oct 29, 2002, 3:44 PM
Post Re: [jai] $GT::SQL::error;
604 3861 Nov 13, 2002, 3:59 PM