while ( chomp( my $line = ) ) { print SCRIPT "$line\n"; }