Jim Brandt sent me a patch to my cpan(1) script so it could fetch the Changes file. While I was adjusting things to add that patch, I added a couple other things that I've always wanted. Here's teh new features in cpan-1.5:
Get the Changes file:
$ cpan -C Tie::Cycle
Revision history for Perl extension Tie::Cycle.
1.11 - Mon Jan 3 16:47:10 2005
* Previously, this module refused to work unless the input array had
more than one element. What's the point of cycling otherwise? I've
removed that restriction, though, because I shouldn't be the one who
gets to decide that. A one element array should get a chance to act
like any other array. It just happens to have one element.
1.09 - Thu Sep 2 19:56:41 2004
* Just some distribution fixes. No need to upgrade.
Get the author details for modules:
$ cpan -A Tie::Cycle Tie::Toggle CGI::Prototype
Tie::Cycle BDFOY bdfoy@cpan.org brian d foy
Tie::Toggle BDFOY bdfoy@cpan.org brian d foy
CGI::Prototype MERLYN merlyn@stonehenge.com Randal L. Schwartz
Get the module list for an author:
$ cpan -L BDFOY
Apache::Htaccess
Apache::iTunes
...yadda yadda...
Tie::Cycle
Tie::Toggle
Get the module details:
$ cpan -D Tie::Cycle
Tie::Cycle
-------------------------------------------------------- -----------------
Cycle through a list of values via a scalar.
B/BD/BDFOY/Tie-Cycle-1.12.tar.gz
/usr/local/lib/perl5/site_perl/5.8.4/Tie/Cycle.pm
Installed: 1.12
CPAN: 1.12 up to date
brian d foy (BDFOY)
bdfoy@cpan.org
Good Work (Score:2)
jonasbn
This isn't the cpan on debian? (Score:1)
Is this what this cpan does as well as the command line things?
If not, does this mean you can't have both installed?
Adam K
Re:This isn't the cpan on debian? (Score:2)