in reply to Term::Shell readline
Version 0.02 of Term::Shell is from 2007. So yeah, upgrading it might be a start.
If the script dies from the commandline and works from the debugger, then probably the debugger brings a library into the mix which makes the script work because it is there before you create your object. Your example code uses SH::Shell, a module unknown to me (and to CPAN), so I can't help much further.
A shot in the dark: Do you have Term::ReadLine::Gnu installed? Or any other Term::Readline backends?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Term::Shell readline
by Anonymous Monk on Mar 08, 2023 at 22:15 UTC | |
by Anonymous Monk on Mar 08, 2023 at 22:43 UTC | |
by haj (Vicar) on Mar 08, 2023 at 23:37 UTC |