RE: FILEHANDLE Problem

2002-07-15 Thread Morse, Richard E.
steve silvers [mailto:[EMAIL PROTECTED]] wrote: open(FILE, d:\path_to\textfiles\test.txt) or die Can't open $!; So, um, you do know that \t is a tab in double-quoted text? Try: open(my $file, d:/path/to/your/test.txt) or die(Can't open: $!) or: open(my $file,

RE: FILEHANDLE Problem

2002-07-15 Thread henry isham
Try this... open(FILE, d:\\path_to\\textfiles\\test.txt) or die Can't open $!; Or, open(FILE, 'd:\path_to\textfiles\test.txt') or die Can't open $!; -Henry -Original Message- From: steve silvers [mailto:[EMAIL PROTECTED]] Sent: Mon 7/15/2002

RE: FILEHANDLE Problem

2002-07-15 Thread Fernando Madruga
This is going to drive me nuts I have my test snippet below When I run this as shown below, I get the error: Invalid argument. open(FILE, d:\path_to\textfiles\test.txt) or die Can't open $!; You need to replace each \ with \\ as a single \ will be interpreted as an escape character.