--- DBI.pm      2004-03-11 14:45:38.000000000 +0100
+++ DBI.pm.new  2004-05-24 14:26:36.000000000 +0200
@@ -266,7 +266,7 @@ for (qw(trace_msg set_err parse_trace_fl

 use strict;

-DBI->trace(split '=', $ENV{DBI_TRACE}, 2) if $ENV{DBI_TRACE};
+DBI->trace(split /=/, $ENV{DBI_TRACE}, 2) if $ENV{DBI_TRACE};

 $DBI::connect_via = "connect";

@@ -6278,7 +6278,7 @@ The DBI_TRACE environment variable speci
 trace settings for the DBI at startup. Can also be used to direct
 trace output to a file. When the DBI is loaded it does:

-  DBI->trace(split '=', $ENV{DBI_TRACE}, 2) if $ENV{DBI_TRACE};
+  DBI->trace(split /=/, $ENV{DBI_TRACE}, 2) if $ENV{DBI_TRACE};

 So if C<DBI_TRACE> contains an "C<=>" character then what follows
 it is used as the name of the file to append the trace to.

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.024 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/


Reply via email to