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.
$ 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
$ cpan -L BDFOY Apache::Htaccess Apache::iTunes ...yadda yadda... Tie::Cycle Tie::Toggle
$ 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
Re:This isn't the cpan on debian?
brian_d_foy on 2005-12-24T16:37:17
The cpan(1) command without arguments simply starts up the shell for you. I still use the shell, but don't want to type "perl -MCPAN -e shell".:)