Re: Data::ShortNameProvider implementation

2015-04-18 Thread Philippe Bruhat (BooK)
On Thu, Apr 16, 2015 at 05:58:27PM +0200, Philippe Bruhat (BooK) wrote: Hi, So after about a year of waiting, and with IRC feedback from TIMB, I've finally implemented a first version of Data::ShortNameProvider: https://github.com/book/Data-ShortNameProvider It's not on CPAN yet

Data::ShortNameProvider implementation

2015-04-16 Thread Philippe Bruhat (BooK)
. -- Philippe Bruhat (BooK) He who marries for money never marries for real. (Moral from Groo The Wanderer #42 (Epic))

Re: Data::ShortNameProvider proposal

2014-05-15 Thread Philippe Bruhat (BooK)
On Thu, May 15, 2014 at 02:07:23PM +0100, Tim Bunce wrote: On Thu, May 15, 2014 at 01:34:21AM +0200, Philippe Bruhat (BooK) wrote: On Tue, May 13, 2014 at 11:11:10PM +0100, Tim Bunce wrote: Parse a generated shortname: $hash = $np-parse_generated_name($name); # eg to get date

Re: Data::ShortNameProvider proposal

2014-05-14 Thread Philippe Bruhat (BooK)
. -- Philippe Bruhat (BooK) He who marries for money never marries for real. (Moral from Groo The Wanderer #42 (Epic))

Re: Test::Database and Test::DSN

2014-04-04 Thread Philippe Bruhat (BooK)
in the config files. -- Philippe Bruhat (BooK) Just because you believe it does not make it so. (Moral from Groo The Wanderer #54 (Epic))

Re: Test::Database and Test::DSN

2014-04-04 Thread Philippe Bruhat (BooK)
On Fri, Apr 04, 2014 at 12:32:10PM +0200, Philippe Bruhat (BooK) wrote: On Thu, Apr 03, 2014 at 03:22:56PM +0100, Tim Bunce wrote: Another option is that Test::Database could provide a function that returns a unique prefix for a given script, so that the test script can use that when

Test::Database and Test::DSN

2014-04-02 Thread Philippe Bruhat (BooK)
said above that all DSN should come from configuration files, but there are still a few that can be discovered automatically, like the test databases for MySQL and Pg. Should these be automatically included in the list of DSN if they are found? -- Philippe Bruhat (BooK) None suffer so much

Re: Test::Database and Test::DSN

2014-04-02 Thread Philippe Bruhat (BooK)
On Wed, Apr 02, 2014 at 09:23:13AM +0200, Philippe Bruhat (BooK) wrote: It is also used by a number of modules on CPAN, so we have to be careful with backwards compatibility. According to MetaCPAN, the current authors and distributions that depend on Test::Database are: - BARBIE CPAN

Re: Proposal: Test::MakeVariantTestFiles - take 2

2013-10-10 Thread Philippe Bruhat (BooK)
On Wed, Oct 02, 2013 at 11:27:26AM +0100, Tim Bunce wrote: | `- The available DBDs (eg Test::Database-list_drivers(available)) | This is really the result of DBI-available_drivers() grepped through the drivers supported by Test::Database. -- Philippe Bruhat (BooK) The best

Re: Memory leak in DBI ?

2008-05-19 Thread Philippe Bruhat (BooK)
On Thu, Apr 10, 2008 at 05:00:57PM +0200, Philippe Bruhat (BooK) wrote: On Thu, Apr 10, 2008 at 03:40:55PM +0100, Tim Bunce wrote: I trust the script is destroying the results and, where appropriate, the $sth before calling Devel::Leak::CheckSV. Yes. The command is run in a block

Memory leak in DBI ?

2008-04-10 Thread Philippe Bruhat (BooK)
tests of 18. I've been told that it also leaks on 5.10.0. -- Philippe Bruhat (BooK) The truly stupid always find a way to create disaster. (Moral from Groo #10 (Image))

Re: Memory leak in DBI ?

2008-04-10 Thread Philippe Bruhat (BooK)
); diag $@ if $@; my $leak = $c2 - $c1; is( $leak, 0, sprintf leak = $leak for %-8s%s, $dbd, $cmd ); } } } -- Philippe Bruhat (BooK) When you allow legends to rule your life, your world is based on fiction

Re: Memory leak in DBI ?

2008-04-10 Thread Philippe Bruhat (BooK)
On Thu, Apr 10, 2008 at 02:05:17PM +0200, H.Merijn Brand wrote: On Thu, 10 Apr 2008 13:00:09 +0200, Philippe Bruhat (BooK) [EMAIL PROTECTED] wrote: Hi, While looking for memory leaks in our code using Devel::Leak, we pinpointed one of them to a call to selectcol_arrayref