I don't see cpan being mentioned anywhere in the OP. I suppose he's talking about accessing the regular shell's command history. Without more details it's hard to tell what the problem is, though. As ^[[A is the normal escape sequence generated by many terminals for the up key, it's probably a misconfiguration of the shell that's causing the problem. | [reply] |
I didn't see cpan mentioned either, however since Ubuntu uses bash 'out of the box' the up arrow key works fine for command recall. While I agree that a broken shell is a possability I'd expect not the OP to have asked for help accessing previous commands rather than 'previous Perl' as explicitly stated. The modules I mentioned don't ship with with perl/ubuntu as default. Weither it's cpan related or as LanX suggests perl debugger, the advice I've given is accurate. However, as you quite accuratly state, without knowing exactly what the OP is really asking for, it could be several things.
| [reply] |
>I think you're confusing perl and cpan.
IMHO sounds like perldebugger as shell, i.e. perl -de0
>Term::ReadLine::Perl or Term::ReadLine::Gnu
agreed!
| [reply] [d/l] |