print " > "; while (chomp( my $line = )){ print " [$line]\n"; } print " > ";