use warnings; use strict; print "type something: "; my $input = ; print "you typed", $input; # of course: # print "you typed $input"; # would be the same