Is it possible that STDIN is getting closed or redirected by the telnet/sftp code? You could check for this by testing whether STDIN is open to a tty at the start of mmenu.
if (-t STDIN) { # go on with normal operations } else { # complain and/or re-open to the tty }
In reply to Re^2: cls and perl
by DrWhy
in thread cls and perl
by jungl3thug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |