use strict; while (<>) { print "You typed:\n$_\n"; }