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?
In reply to Re: Term::Shell readline
by haj
in thread Term::Shell readline
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |