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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Update module in offline cpan
by ikegami (Patriarch) on Jul 12, 2022 at 20:15 UTC | |
by Dirk80 (Pilgrim) on Jul 13, 2022 at 07:51 UTC | |
by ikegami (Patriarch) on Jul 13, 2022 at 18:03 UTC | |
|
Re: Update module in offline cpan
by LanX (Saint) on Jul 12, 2022 at 10:13 UTC | |
by Dirk80 (Pilgrim) on Jul 12, 2022 at 12:08 UTC |