Author: mjevans
Date: Sun Apr 22 11:35:07 2012
New Revision: 15288
Modified:
dbd-oracle/trunk/lib/DBD/Oracle.pm
Log:
add note in pod for namespace and taf_function
Modified: dbd-oracle/trunk/lib/DBD/Oracle.pm
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle.pm (original)
+++ dbd-oracle/trunk/lib/DBD/Oracle.pm Sun Apr 22 11:35:07 2012
@@ -1413,6 +1413,8 @@
#import the ora fail over constants
#set up TAF on the connection
+ # NOTE since DBD::Oracle uses call_pv you may need to pass a full
+ # name space as the function e.g., 'main::handle_taf'
my $dbh = DBI->connect('dbi:Oracle:XE','hr','hr',{ora_taf=>1,taf_sleep=>5,ora_taf_function=>'handle_taf'});
#create the perl TAF event function