Skip Menu |

This queue is for tickets about the CPAN-SQLite CPAN distribution.

Report information
The Basics
Id: 32740
Status: resolved
Priority: 0/
Queue: CPAN-SQLite

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: Documentation error and a "feature" request
Hello. I've noticed that documentation contains an error: my $info = CPAN::SQLite::Info(CPAN => $cpan); Should read: my $info = CPAN::SQLite::Info->new(CPAN => $cpan); .. or at least that's what error say :) Also, I was wondering if there would be a way to disable any print outs the module does. I am getting this in the shell: Reading information from C:\Perl\cpan\sources\authors\01mailrc.txt.gz Reading information from C:\Perl\cpan\sources\modules\03modlist.data.gz Reading information from C:\Perl\cpan\sources\modules\02packages.details.txt.gz No dist_name/version/cpanid for T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/ValueTree.pm.gz: skipping No dist_name/version/cpanid for T/TO/TOMC/Simple.pm.gz: skipping And it is making the use of the module much harder. I am on: This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Thanks
On Mon Jan 28 12:46:37 2008, ZOFFIX wrote: Show quoted text
> Hello. I've noticed that documentation contains an error: > > my $info = CPAN::SQLite::Info(CPAN => $cpan); > > Should read: > > my $info = CPAN::SQLite::Info->new(CPAN => $cpan); > > .. or at least that's what error say :)
Thanks for pointing that out - that's been fixed in my svn copy. Show quoted text
> Also, I was wondering if there would be a way to disable any print outs > the module does. I am getting this in the shell: > > Reading information from C:\Perl\cpan\sources\authors\01mailrc.txt.gz > Reading information from C:\Perl\cpan\sources\modules\03modlist.data.gz > Reading information from > C:\Perl\cpan\sources\modules\02packages.details.txt.gz > No dist_name/version/cpanid for > T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/ValueTree.pm.gz: skipping > No dist_name/version/cpanid for T/TO/TOMC/Simple.pm.gz: skipping > > And it is making the use of the module much harder. > > I am on: > This is perl, v5.10.0 built for MSWin32-x86-multi-thread > (with 1 registered patch, see perl -V for more detail) > > Thanks
Are these messages appearing in the terminal window? Updating the database both from the cpandb script and from within the CPAN.pm shell should have these messages logged in a log file (by default, named something like cpan_sqlite_log_time_of_day, in the same directory as the cpandb.sql database file). Is that not happening for you?
Actually, I see now that if you're using something other than the supplied cpandb script it would be useful to make things less verbose. In version 0.19, which has just been uploaded to CPAN, the information messages will only get printed if the CPAN_SQLITE_DEBUG environment variable is set. Thanks for the suggestion.