In Perl, the backslash in "c:\temp\notes.txt" is an escape character. \t becomes a tab character, \n becomes newline. So the actual filename interpreted is "c:empotes.txt" - a garbled path, not "c:\temp\notes.txt". The file will be created with this incorrect name if permissions allow.