Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 25116
Status: open
Priority: 0/
Queue: CPAN

People
Owner: ANDK [...] cpan.org
Requestors: UVOELKER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: look without argument should jump to last build module
Download (untitled) / with headers
text/plain 271b
Hello Andreas, I type "install Foo" and Foo fails. It would be nice if "look" would now jump to Foo. It would save us from typing "look Foo" (especially if Foo is a longer name). The same could be done for the other commands (test, install and so on). Thanks, bye, Uwe
Download (untitled) / with headers
text/plain 851b
I wonder what the semantics should be when the user says Show quoted text
cpan> install Foo Bar Bundle::Baz
One could argue that always the last failed module should be taken as the default, because the most likely thing people are interested in is the last failure. But this contradicts your subject line. And if the last failure happened many commands before the last command? In the case above, if nothing fails? This complicated thinking was the reason why I never implemented such a shortcut. But today I think, the least complicated solution should be implemented: not the least complicated to implement but to explain/document. We could say: look without argument visits the last failed distribution and if there was no failure then it visits nothing. This could be documented in one sentence and would help in many cases. Your opinion welcome. Thanks,


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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