Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 102821
Status: stalled
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: SZABGAB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: configure CPAN shell automatically
Download (untitled) / with headers
text/plain 556b
When on a newly compiled perl I try to run cpan it asks me if I want to automatically configure it. The thing is that I would like to eliminate even this question, just run the code and let it auto-configure itself. I tried yes | cpan but it got into an endless loop of Refusing to autoload 'y' in recursion cpan[40953]> Refusing to autoload 'y' in recursion cpan[40954]> Refusing to autoload 'y' in recursion cpan[40955]> Would it be possible to add a command line flag (E.g. --autoconfig) that will skip the question and autoconfig the cpan clien?
Download (untitled) / with headers
text/plain 305b
I'm sure it's possible, but the cpan(1) command would have to hack with the CPAN.pm stuff to do it. It's not a pressing need for me, but you can send a pull request. Note that cpan(1) does not use -- switches or long names, and although I've thought about adding those, I think it would confuse people.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.