need small help,
when i am trying to read from the file and write to the file it is working perfect, but when i am trying to read from the key board and write to the file the file is not being written. There are no problems with opening files i guess. can u help..
sorry for asking such trivial question. and if u know of any message board for perl please let me know so that i may post my questions there in future.. n here is my code...
_______________
#!/usr/bin/perl -w
#open(IN, "input.txt");
open(OUT, ">out.txt");
while( <STDIN>)
{
print $_;
print OUT $_;
}
#close (IN);
close (OUT);
______________________
thanks
Gariki.