Name

Flush

Synopsis

$cons ->Flush

Description

Flushes the console input buffer. All the events in the buffer are discarded. Returns undef on error, a nonzero value on success.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.