[svn:dbd-oracle] r15288 - dbd-oracle/trunk/lib/DBD

[email protected] Sun, 22 Apr 2012 11:35:07 -0700 (PDT)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
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