koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] [Bug 63] Error in marcimport.pl


From: Alan Millar
Subject: Re: [Koha-devel] [Bug 63] Error in marcimport.pl
Date: Sat Jul 6 05:29:03 2002
User-agent: Mutt/1.2.5i

> Fixed in CVS.  There was a few bugs fixed.  In addition to the one mentioned
> there were two or three spots where requireDBI was checking for the wrong 
> tables
> (uploadmarc and AcceptMarcData instead of uploadedmarc).

Just to clarify:  The second parameter to the requireDBI subroutine
is NOT a tablename.  It is the name of the calling subroutine, used
in diagnostic output, so that a human being can find where the
error occured and fix it.

requireDBI only checks that the specified variable (first parameter
to requireDBI) is really a DBI handle, and gives an error if it is not.

If anyone knows how to use Perl magic to find out (from within
requireDBI) the name of the subroutine that called it, that would
be even better.

- Alan

----
Alan Millar     --==> address@hidden <==--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]