in reply to Re: Can't exit, except when I press ^C?
in thread Can't exit, except when I press ^C?

Thanks, I was using octal and not hex. Is there a way to make it read input from outside the script so that I could press <esc> anytime and it would close? Sorry I know I'm like super noobie. Thanks though for your time ^_^
  • Comment on Re^2: Can't exit, except when I press ^C?

Replies are listed 'Best First'.
Re^3: Can't exit, except when I press ^C?
by Anonymous Monk on Feb 02, 2012 at 16:20 UTC
Re^3: Can't exit, except when I press ^C?
by Anonymous Monk on Feb 02, 2012 at 23:58 UTC
    As the other AM says, look at the Term namespace.

    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).

      Okayy thanks! ^_^ I only really know the basics of creating a module and "use <module::function>".