This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
16915
Status:
resolved
Worked:
15 minutes
Users:
BDFOY: 15 minutes
Priority:
Low/Low
Queue:

People
Owner:
bdfoy [...] cpan.org
Requestors:
chris [...] prather.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
  • 1.81
  • 1.82
Fixed in:
(no value)



Subject: cpan command line script requires -i now
In CPAN-1.81 and CPAN-1.82, the cpan script seems to now require -i for install instead of the documented (and previous) behavior of defaulting to -i when no swtiches are passed. perigrin@Alice ~ $ cpan HTML::Prototype perigrin@Alice ~ $ Versus the previous behavior of perigrin@dhcp-stp-134-32 ~ $ cpan HTML::Prototype CPAN: Storable loaded ok Going to read /Users/perigrin/.cpan/Metadata ... This was seen on both SunOS 5.8 and OSX 10.4.3 (Darwin 8.3.0) running perl 5.6.1(sun) and 5.8.7(mac) I'm not sure if a Documentation patch or a code patch is in order.
Argh! You're right. The docs are right (I still want that default behavior), so I need to fix the code. I should have something for you by tonight. Sorry for the inconvenience.
I've uploaded cpan-1.06 which re-implements the default -i feature. When I rewrote the script, the big decision structure turned into a dispatch table. The processing in the if() was the thing that set -i if there were no other options and that special case didn't survive into the new design. Now it's back.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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