Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

PERL Programming question?

Ok so what I want to do, is have a program using normal input and output STDIN and STDOUT, terminate, or exit the loop if say, F5 is pressed. Just a single keystroke. I can't find any good examples online so I'm a little stuck. I'm fairly new to PERL. Help?

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    There is nothing built in to Perl to let you do read function keys. You can do it if you use the Tk module but it sounds like you want a plain old terminal program?

Still have questions? Get your answers by asking now.