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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-13815-1426585192-1269.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 556
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?
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-13815-1426585192-1269.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-13815-1426585192-1269.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5899-1426587829-807.102821-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 305
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.