Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: perlbrew clone-modules fails to install lots of modules SOLVED!

by Anonymous Monk
on Jan 12, 2026 at 18:53 UTC ( [id://11167138]=note: print w/replies, xml ) Need Help??


in reply to Re^2: perlbrew clone-modules fails to install lots of modules SOLVED!
in thread perlbrew clone-modules fails to install lots of modules

> There is still Color::Rgb on CPAN (note the spelling).

When I noticed modules were missing from doing

perlbrew clone-modules perl-5.38.2 perl-5.42.0                                                            
I put the results of list-modules for both versions into respective text files and ran diff. Perlbrew listed the Color::Rgb in 5.38 as Color::RGB which caused clone-modules to fail for that module. I just tried to install Color::RGB manually on 5.42 and it failed of course. So I installed Color::Rgb into 5.42 and ran list-modules again and sure enough perlbrew reports that module as Color::RGB! When I went to CPAN and saw
Color::Rgb - Simple rgb.txt parsing class
Color::RGB::Util - Utilities related to RGB colors
I didn't know what to think, maybe it got renamed? But I checked out the changes and it did not so I don't know what is going on with perlbrew. Try it yourself:
% cpanm -v Color::Rgb
% perlbrew list-modules | grep -i 'color::rgb'
Color::RGB
  • Comment on Re^3: perlbrew clone-modules fails to install lots of modules SOLVED!

Replies are listed 'Best First'.
Re^4: perlbrew clone-modules fails to install lots of modules SOLVED! Color::RGB bug
by Anonymous Monk on Jan 13, 2026 at 01:58 UTC
    I revisited the github issue and decided to take a look at what ExtUtils::Installed has to say about Color::Rgb:
    % perl -MExtUtils::Installed -le '@_=ExtUtils::Installed->new->modules;@_=grep/color::rgb/i,@_;print for@_'
    Color::RGB
    Color::RGB::Util
    
    What about the packlist?
    % perl -MExtUtils::Installed -le 'print ExtUtils::Installed->new->packlist("Color::RGB")->packlist_file'
    /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/darwin-2level/auto/Color/RGB/.packlist
    
    Inside the packlist?
    % cat /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/darwin-2level/auto/Color/RGB/.packlist
    /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/Color/Rgb.pm
    /perl5/perlbrew/perls/perl-5.42.0/man/man3/Color::Rgb.3
    
    The source of this issue still eludes me but I don't think perlbrew is the problem anymore. The output of Module::Metadata shows nothing unusual, module is reported as Color::Rgb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2026-04-10 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.