Re: connected() doesn't get all attributes

2005-06-21 Thread Tim Bunce
On Tue, Jun 21, 2005 at 06:46:03AM -0700, Peter Scott wrote: > - $dbh->connected($dsn, $user, $pass, $attr) if ref $dbh ne 'DBI::db'; > +# We'll normalize the dsn first > + $dbh->connected("dbi:$driver($driver_attrib_spec):$dsn", > @orig_args[1..3]) > +if ref $dbh n

Re: connected() doesn't get all attributes

2005-06-21 Thread Peter Scott
On Tue, 21 Jun 2005 01:13:21 +0100, Tim Bunce wrote: > On Sun, Jun 19, 2005 at 06:16:25AM -0700, Peter Scott wrote: >> On Sat, 18 Jun 2005 15:34:36 +0100, Tim Bunce wrote: >> > On Fri, Jun 17, 2005 at 05:49:01PM -0700, Peter Scott wrote: >> >> The connected() method of subclasses doesn't get all th

Re: Makefile.PL problems on windows

2005-06-21 Thread Cosimo Streppone
Tim Bunce wrote: I'd appreciate it if someone could look into why sometimes Makefile.PL fails on windows. There are four reports here http://testers.cpan.org/show/DBI.html#DBI-1.48 For example http://www.nntp.perl.org/group/perl.cpan.testers/204712 It's not consistent though, as there are repor

Re: Cycling through open handles

2005-06-21 Thread Tim Bunce
On Mon, Jun 20, 2005 at 08:27:57PM -0400, Sam Tregar wrote: > On Tue, 21 Jun 2005, Tim Bunce wrote: > > > > $handles = DBI->ChildHandles(); > > > > $drh = DBI->install_driver('mysql'); > > $all_mysql_dbh = $drh->{ChildHandles}; > > > > (install_driver doesn't reinstall the driver if it

Makefile.PL problems on windows

2005-06-21 Thread Tim Bunce
I'd appreciate it if someone could look into why sometimes Makefile.PL fails on windows. There are four reports here http://testers.cpan.org/show/DBI.html#DBI-1.48 For example http://www.nntp.perl.org/group/perl.cpan.testers/204712 It's not consistent though, as there are reports of success as wel

Re: connected() doesn't get all attributes

2005-06-21 Thread Tim Bunce
On Sun, Jun 19, 2005 at 06:16:25AM -0700, Peter Scott wrote: > On Sat, 18 Jun 2005 15:34:36 +0100, Tim Bunce wrote: > > > On Fri, Jun 17, 2005 at 05:49:01PM -0700, Peter Scott wrote: > >> The connected() method of subclasses doesn't get all the attribute > >> that were set by the caller; three of

Re: Cycling through open handles

2005-06-21 Thread Tim Bunce
On Mon, Jun 20, 2005 at 01:38:42PM -0400, Sam Tregar wrote: > On Mon, 20 Jun 2005, Tim Bunce wrote: > > > > Can you suggest a good > > > place to put the code to collect open handles? Knowing nothing about > > > the internals I'm guessing connect() is the right spot. > > > > Actually _new_handle