When I run the latest CPAN, I got: sudo perl -MCPAN -e shell Password: Warning [/etc/inputrc line 34]: Bad line ["\e[5~":history-search-backward] Warning [/etc/inputrc line 35]: Bad line ["\e[6~":history-search-forward] adding a space after the colon made the warning go away. `qpkg -f /etc/inputrc` said this file comes from sys-apps/baselayout
Fixed in CVS.