Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 11188
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: ssoriche [...] coloredblocks.net
Cc:
AdminCc:

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



Subject: listing out of date models regex support
CPANPLUS-0.051 The list out of date modules command ( o ) doesn't allow for regular expressions in it's search like the other list commands. For example using the search by module command (m) I can search for all CPAN::Mini modules by appending a *: CPAN Terminal> m CPAN::Mini* 1 CPAN::Mini 0.36 RJBS 2 CPAN::Mini::Inject 0.16 SSORICHE 3 CPAN::Mini::Tested 0.13 RRWO When I try the same option with the o command I get: CPAN Terminal> o CPAN::Mini* [ERROR] 'CPAN::Mini*' does not contain an author part [ERROR] Cannot find 'CPAN::Mini*' in the module tree No such module: CPAN::Mini* No modules found to operate on! 1 1.15 1.1901 Algorithm::Diff TYEMQ 2 1.08 1.23 Archive::Tar KANE ... continue to list all out of date modules When I issue the o command with a specific module name it finds the module installed and that it needs to be updated. CPAN Terminal> o CPAN::Mini 1 0.32 0.36 CPAN::Mini RJBS I've tried these same commands on FC2, OS X, RHES, and AIX with the same results. Perl versions ranging from 5.6.1 to 5.8.3.
[SSORICHE - Sat Jan 22 09:27:50 2005]: Show quoted text
> The list out of date modules command ( o ) doesn't allow for regular > expressions in it's search like the other list commands. > > For example using the search by module command (m) I can search for > all CPAN::Mini modules by appending a *:
Internally 'o' works a bit different than 'm' and friends... i've added your suggestion to the TODO -- it's definately worth implementing, but a little tricky for now. The workaround until then is to use 'm' for searching, and then have 'o' operate on that result. For example: m CPAN::Mini.*; o *; Hope this helps,