|
NAMEGenezzo::Havok::SysHook - load the SysHook table SYNOPSIS# don't say "use Genezzo::Havok::SysHook". Update the # dictionary havok table: select HavokUse('Genezzo::Havok::SysHook') from dual; DESCRIPTIONBasic Havok module - load the SysHook table create table sys_hook (
Example:insert into sys_hook values (1, 'Genezzo::Dict', 'dicthook1', 'Howdy_Hook', 'require', 'Genezzo::Havok::Examples', 'Howdy', 'SYSTEM', '2004-09-21T12:12'); The row causes SysHook to "require Genezzo::Havok::Examples", and calls the "Howdy" function from the hook function "dicthook1" in the package Genezzo::Dict. The previous coderef for the function "dicthook1" (if it exists) is assigned to $Genezzo::Havok::Examples::Howdy_Hook. The Howdy function can call &$Howdy_Hook() to activate the original "dicthook1" function. ARGUMENTSFUNCTIONSRISKSReplacing system functions in an operational database has approximately the same level of risk exposure as running with the bulls at Pamplona with your pants around your ankles. Which is to say, "somewhat foolhardy". EXPORTLIMITATIONSTODOAUTHORJeffrey I. Cohen, jcohen@genezzo.com SEE ALSOperl(1). Copyright (c) 2005-2007 Jeffrey I Cohen. All rights reserved. This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Address bug reports and comments to: jcohen@genezzo.com For more information, please visit the Genezzo homepage at <http://www.genezzo.com>
|