Subject: | CPANPLUS confused by first command |
This is a clean installation of CPANPLUS 0.045 on OS X 10.2.8 with 5.6.0.
The first command issued to the CPANPLUS shell results in an "Improper command '0'. Usage: ..." warning. It doesn't seem to matter what the command is with the exception of ?. If a ? is used the help will be displayed normally then the *next* command will cause the "Improper command" warning.
After this, CPANPLUS operates normally.
[~] cpanp
CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.03)
*** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>.
*** Using CPANPLUS::Backend v0.045. ReadLine support enabled.
CPAN Terminal> q
CPANPLUS::Shell::Default at /Library/Perl/CPANPLUS/Shell.pm line 319
CPANPLUS::Shell::_Base::AUTOLOAD('CPANPLUS::Shell=HASH(0x8bab94)', 'CPANPLUS::Shell::Default') called at /System/Library/Perl/utf8_heavy.pl line 30
require 0 called at /System/Library/Perl/utf8_heavy.pl line 30
utf8::SWASHNEW('utf8', 'ToLower', undef, 4, 0) called at /Library/Perl/CPANPLUS/Shell/Default.pm line 145
require 0 called at /Library/Perl/CPANPLUS/Shell/Default.pm line 128
CPANPLUS::Shell::Default::_input_loop('CPANPLUS::Shell=HASH(0x8bab94)', 'CPANPLUS::Backend=HASH(0x8bab88)', 'CPAN Terminal> ') called at /Library/Perl/CPANPLUS/Shell/Default.pm line 110
CPANPLUS::Shell::Default::shell('CPANPLUS::Shell=HASH(0x8bab94)') called at /Library/Perl/CPANPLUS.pm line 118
CPANPLUS::shell(undef) called at /usr/bin/cpanp line 152
Improper command '0'. Usage:
[General]
h | ? # display help
q # exit
v # version information
[Search]
a AUTHOR ... # search by author(s)
m MODULE ... # search by module(s)
f AUTHOR ... # list all distributions by author(s)
o [ MODULE ... ] # list installed module(s) that aren't up to date
w # display the result of your last search again
[Operations]
i MODULE | NUMBER ... # install module(s), by name or by search number
t MODULE | NUMBER ... # test module(s), by name or by search number
u MODULE | NUMBER ... # uninstall module(s), by name or by search number
d MODULE | NUMBER ... # download module(s) into current directory
l MODULE | NUMBER ... # display detailed information about module(s)
r MODULE | NUMBER ... # display README files of module(s)
c MODULE | NUMBER ... # check for module report(s) from cpan-testers
z MODULE | NUMBER ... # extract module(s) and open command prompt in it
[Local Administration]
e DIR ... # add directories to your @INC
b # write a bundle file for your configuration
s [OPTION VALUE] # set configuration options for this session
s conf | save # reconfigure settings / save current settings
CPAN Terminal>