[open-ils-commits] r10223 - trunk/Open-ILS/src/perlmods/OpenILS/Utils

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


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

Modified:
   trunk/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: trunk/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm	2008-07-31 16:28:01 UTC (rev 10222)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/ZClient.pm	2008-07-31 16:28:30 UTC (rev 10223)
@@ -1,6 +1,8 @@
 package OpenILS::Utils::ZClient;
 use UNIVERSAL::require;
 
+sub DESTROY {};
+
 use overload 'bool' => sub { return $_[0]->{connection} ? 1 : 0 };
 
 sub EVENT_NONE { 0 }
@@ -85,6 +87,7 @@
 #-------------------------------------------------------------------------------
 package OpenILS::Utils::ZClient::ResultSet;
 
+sub DESTROY {};
 our $AUTOLOAD;
 
 sub new {
@@ -128,6 +131,7 @@
 #-------------------------------------------------------------------------------
 package OpenILS::Utils::ZClient::Record;
 
+sub DESTROY {};
 our $AUTOLOAD;
 
 sub new {



More information about the open-ils-commits mailing list