while(<>){ chop; print "I have $_ as input\n"; }