| Are you sure that the filehandle opened properly? If you used the wrong filename, your data could be going to the wrong file. A common mistake is to open a file for writing by using backslashes in the pathname and enclosing the pathname in double quotation marks, as shown here: open(FH, ">c:\temp\notes.txt") die "$!"; #WRONG! This line creates a file called c:(tab)emp(newline)otes.txt ”probably not what you had in mind. Also, make sure that your open function succeeded. If you write to a filehandle that hasn't been properly opened, Perl discards the output silently un |