Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Configure default CPANM mirrors ( cpanm --mirror one --mirror two ...)

by Anonymous Monk
on Sep 10, 2014 at 07:38 UTC ( [id://1100089]=note: print w/replies, xml ) Need Help??


in reply to Configure default CPANM mirrors

I want to add a stratopan repository to the list of mirrors cpanminus uses on a machine.

stratopan ? hum, new to me :) Private CPAN in the Cloud - Stratopan

I don't want to have to specify the mirror with the --mirror command each time.

Call your program cpanmm and have it specify --mirror each time :)

I have set PERL_CPANM_OPT to "https://mymirror"

Um, you mean "--mirror=https://mymirror" right?

but cpanm only looks for dependencies on my mirror, and not the default repository. How do I make sure cpanminus looks in the default repositories if a module is not found in my repository?

um, try cpanm --mirror https://mymirror --mirror http://www.cpan.org ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-03-29 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found