I tried to find a core solution to you and found getc, but it's even its documentation points you to the CPAN module Term::ReadKey.
Looks like now is as good a time as any to learn how to use CPAN (or PPM).
In reply to Re^3: Can't exit, except when I press ^C?
by Anonymous Monk
in thread Can't exit, except when I press ^C?
by TalsiOrah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |