in reply to Offline cpan used by strawberry perl

After some investigation I could discover that the cpan-shell always tries to download this file again if its date is not of today.

I read your post last night without much idea on what one might do about it. And I'm intrigued about what one might do with strawberry perl on USB. What types of things does a person do with such a stick, I wonder?

This morning, I was working on my own cpan "problems," and I got this from STDOUT:

MIYAGAWA/App-cpanminus-1.7044.tar.gz /usr/bin/make -- OK The current configuration of allow_installing_outdated_dists is 'ask/y +es', but for this option we would need 'CPAN::DistnameInfo' installed +. Please install 'CPAN::DistnameInfo' as soon as possible. As long as + we are not equipped with 'CPAN::DistnameInfo' this option does not t +ake effect Running make test for MIYAGAWA/App-cpanminus-1.7044.tar.gz

Then I ran o conf and saw this:

cpan[1]> o conf $CPAN::Config options from /home/hogan/.cpan/CPAN/MyConfig.pm: commit [Commit changes to disk] defaults [Reload defaults from disk] help [Short help about 'o conf' usage] init [Interactive setting of all options] allow_installing_module_downgrades undef allow_installing_outdated_dists undef

, and I see that your values are the same. If cpan believes that old modules are alright, it might not think it had to go change it.

Hope this helps,

(if not, I still have 2 strikes)

Replies are listed 'Best First'.
Re^2: Offline cpan used by strawberry perl
by Dirk80 (Pilgrim) on Jan 31, 2020 at 19:56 UTC

    Thanks alot. Sounds good. Installing CPAN::DistnameInfo and setting afterwards option allow_installing_outdated_dists to yes.

    But I have to wait until Monday morning to try it. The computer with this configuration is at work. This is the reason for the portable strawberry perl and offline cpan. I'm not able to use online cpan and I have no rights to install something. So this is a good way for me to use perl for automating things at this computer. At home I have a Linux.

      The computer with this configuration is at work. This is the reason for the portable strawberry perl and offline cpan. I'm not able to use online cpan and I have no rights to install something. So this is a good way for me to use perl for automating things at this computer. At home I have a Linux.

      I see the angle on it now. I claim that perl makes windows bearable. I've had partial successes with strawberry perl on windows. It's a non-native environment and shows it every now and then. But it's also the OS for my mom, so I would be advantaged to show up with such a stick if I'm gonna touch her computer at all. Should it be FAT32 partitioned?

        Mine is NTFS and it is working. I think that it'll work with FAT32 and NTFS.