我在cygwin,但我尝试过Ubuntu和Fedora - 无论我是安装Term :: ReadKey和Term :: ReadLine :: Gnu和Term :: ReadLine :: Perl local(cygwin)还是sudo( Ubuntu,Fedora),我只能通过向上箭头键获取以前的命令。请帮助:)
$ cpan Term::ReadKey
CPAN: Storable loaded ok (v2.53)
Reading '/home/user/.local/share/.cpan/Metadata'
Database was generated on Sun, 20 Sep 2015 01:17:02 GMT
CPAN: Module::CoreList loaded ok (v5.20150520)
Term::ReadKey is up to date (2.33).
user@user-PC /cygdrive/c/Users/user/AppData/Local/Temp
$ cpan Term::ReadLine::Gnu
CPAN: Storable loaded ok (v2.53)
Reading '/home/user/.local/share/.cpan/Metadata'
Database was generated on Sun, 20 Sep 2015 01:17:02 GMT
CPAN: Module::CoreList loaded ok (v5.20150520)
Term::ReadLine::Gnu is up to date (1.27).
user@user-PC /cygdrive/c/Users/user/AppData/Local/Temp
$ cpan Term::ReadLine::Perl
CPAN: Storable loaded ok (v2.53)
Reading '/home/user/.local/share/.cpan/Metadata'
Database was generated on Sun, 20 Sep 2015 01:17:02 GMT
CPAN: Module::CoreList loaded ok (v5.20150520)
Term::ReadLine::Perl is up to date (1.0303).