Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: cpanplus test suite seems to be a bit ruinous

by cavac (Prior)
on May 05, 2025 at 14:20 UTC ( [id://11164942]=note: print w/replies, xml ) Need Help??


in reply to cpanplus test suite seems to be a bit ruinous

I don't use cpanplus, but i know that the "normal" cpan uses CPAN::SQLite. Try installing that one.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Also check out my sisters artwork and my weekly webcomics
  • Comment on Re: cpanplus test suite seems to be a bit ruinous

Replies are listed 'Best First'.
Re^2: cpanplus test suite seems to be a bit ruinous
by Intrepid (Deacon) on May 05, 2025 at 22:25 UTC

    I forgot that CPAN-cpan uses CPAN::SQLite, cavac, but CPANPLUS-cpan appears not to:

    $ perl -w -MCPANPLUS -le'print "$/$_" for values %INC' | grep CPANPLUS + | xargs -l grep SQLite 'DBD::SQLite' => '0.0', eq 'CPANPLUS::Internals::Source::SQLite'

    As you see above I did a quick-and-dirty grep peek into CPANPLUS and it uses DBD::SQLite.

    Edit

    May 06, 2025 at 17:45 UTC

    I've done a bit more poking around in the code to see if I can get cpanplus to use SQLite. I discovered that the line found above by grep, 'DBD::SQLite' => '0.0',, is preceded by the line containing 'DBIx::Simple' => '0.0',. I installed DBIx::Simple and the result is that when I make test on CPANPLUS it seems happy to use SQLite. Here's a part of the code I'm talking about, in /CPANPLUS/Selfupdate.pm:

    sqlite_backend => [ { 'DBIx::Simple' => '0.0', 'DBD::SQLite' => '0.0', }, sub { my $cb = shift; my $conf = $cb->configure_object; return $conf->get_conf('source_engine') eq 'CPANPLUS::Internals::Source::SQLite' },

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11164942]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2025-06-21 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.