{ print("Press abc<^Z>\n"); # Not binmode. print ; } { print("Press abc<^Z>def\n"); binmode(STDIN); print scalar(), scalar(), scalar(); }