We don't bite newbies here... much | |
PerlMonks |
Update module in offline cpanby Dirk80 (Pilgrim) |
on Jul 12, 2022 at 09:58 UTC ( [id://11145435]=perlquestion: print w/replies, xml ) | Need Help?? |
Dirk80 has asked for the wisdom of the Perl Monks concerning the following question: I have an offline CPAN archive. Sometimes it happens that I have to update a module there. For example some weeks ago I used the module Mojo::DOM; for some XML stuff. Later I wanted to pack my script with pp. But it didn't work. Investigating a little bit showed up that a new version of Module::ScanDeps fixes the issue. But this new version is not in CPAN, but in a private github of the author. So I decided to update Module::ScanDeps Version 1.31 in my offline CPAN with the new version 1.32 from Github. I did it as follows.
It worked well. But I don't want to do so many steps manually each time I want to update a module in my offline CPAN. Furthermore CPAN::Checksums works only on Linux for me and not on Windows. Of course I could script the steps above by myself. But I think it is a bad idea to reinvent the wheel. For such a basic problem I'm sure there has to be a good solution out there. So my question is. What is the best way to update a module in an offline CPAN? Thank you very much in advance!
Back to
Seekers of Perl Wisdom
|
|