On 08/09/2015 09:43 AM, WANDA B Anon wrote:
It seems to me that cpan downloads the most recent version of modules
needed as prerequisites when they are not in minicpan.
If they are not in minicpan, wouldn't it be nice if they were put there so
they will be found next time? (or is this being done?) Can I set some
variables to make this happen?
Thanks.
I have a minicpan on my machine, but I tend to use it for purposes
*other* than being the primary source of libraries to be installed via
the 'cpan' utility.
So I may not grasp your situation entirely correctly. But two possible
solutions come to mind for the case where you want 'cpan' to first
search a local minicpan directory:
1. Write a cron job to update your minicpan daily or at another
frequency you deem satisfactory.
2. Use a shell alias or function to first call 'minicpan' whenever you
call 'cpan'.
Thank you very much.
Jim Keenan