Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: cpan [...] desert-island.me.uk
Cc:
AdminCc:

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



Subject: Funky error messages when command-line args are missed
Type: cpanp Test::WWW::Mechanize::Catalyst (missed out the actual "install" command) And the "error" looks like: [ERROR] '::WWW::Mechanize::Catalyst' does not contain an author part [ERROR] Cannot find '::WWW::Mechanize::Catalyst' in the module tree No such module: ::WWW::Mechanize::Catalyst No modules found to operate on! .. could be a more useful message with cleverer parsing.
On Fri Nov 10 18:28:09 2006, JROBINSON wrote: Show quoted text
> Type: > > cpanp Test::WWW::Mechanize::Catalyst > (missed out the actual "install" command) > > And the "error" looks like: > > [ERROR] '::WWW::Mechanize::Catalyst' does not contain an author part > > [ERROR] Cannot find '::WWW::Mechanize::Catalyst' in the module tree > > No such module: ::WWW::Mechanize::Catalyst > No modules found to operate on! > > .. could be a more useful message with cleverer parsing.
I've added logic that should detect this now in the default shell: CPAN Terminal> Test::Foo::Bar foo Could not understand command: Test::Foo::Bar foo Possibly missing command before argument(s)? CPAN Terminal>