[open-ils-commits] r10222 - branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Utils

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jul 31 12:28:08 EDT 2008


Author: erickson
Date: 2008-07-31 12:28:01 -0400 (Thu, 31 Jul 2008)
New Revision: 10222

Modified:
   branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm
Log:
added explicit DESTROY methods to each package so AUTOLOAD won't attempt to use it

Modified: branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm
===================================================================
--- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm	2008-07-31 16:16:55 UTC (rev 10221)
+++ branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm	2008-07-31 16:28:01 UTC (rev 10222)
@@ -1,6 +1,8 @@
 package OpenILS::Utils::ZClient;
 use UNIVERSAL::require;
 
+sub DESTROY {};
+
 use overload 'bool' => sub { return $_[0]->{connection} ? 1 : 0 };
 
 our $conn_class = 'ZOOM::Connection';
@@ -59,6 +61,7 @@
 #-------------------------------------------------------------------------------
 package OpenILS::Utils::ZClient::ResultSet;
 
+sub DESTROY {};
 our $AUTOLOAD;
 
 sub new {
@@ -96,6 +99,7 @@
 #-------------------------------------------------------------------------------
 package OpenILS::Utils::ZClient::Record;
 
+sub DESTROY {};
 our $AUTOLOAD;
 
 sub new {



More information about the open-ils-commits mailing list