in reply to Re: Using stdin only if there is input on it, but skipping it if there is no data
in thread Using stdin only if there is input on it, but skipping it if there is no data

Thanks. The link for Term::Key seems dead, but Term::TermKey is present. However, the CPAN page says that it is deprecated. Is there any other option for more formal solutions, besides getc?

  • Comment on Re^2: Using stdin only if there is input on it, but skipping it if there is no data

Replies are listed 'Best First'.
Re^3: Using stdin only if there is input on it, but skipping it if there is no data
by hippo (Archbishop) on Nov 18, 2020 at 17:03 UTC

    I'm not aware of any deprecation of Term::ReadKey so perhaps that might also be an option for you.


    🦛