Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the CPAN-WWW-Testers-Generator CPAN distribution.

Report information
The Basics
Id: 50086
Status: resolved
Priority: 0/
Queue: CPAN-WWW-Testers-Generator

Owner: Nobody in particular
Requestors: ANDK [...]

Bug Information
Severity: Wishlist
Broken in: 0.30
Fixed in: (no value)

Subject: Can I have a ->dbh method?
Download (untitled) / with headers
text/plain 349b
The way I maintain my copy of the database at the moment is to have one writer and many readers. My application suffered from frequent sqlite failures. It seems I could correct this misbehaviour with $dbi->{dbh}->func(20000,'busy_timeout'); I'd like to have some legal/official access to the internal db handle instead. WDYT? Regards from Berlin,
Download (untitled) / with headers
text/plain 221b
The db handles are already available when you create the object, as: $obj->{CPANSTATS} # MySQL cpanstats database $obj->{LITESTATS} # SQLite cpanstats database $obj->{METABASE} # MySQL metabase database Thanks, Barbie.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to