Why not just tell it... open("e:\workflow.txt", "Workflow")|| die "Cannot open workflow $!\n";
John Herbold IS Specialist/DBA -----Original Message----- From: Lance Prais [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 7:28 PM To: [EMAIL PROTECTED] Subject: help with open function I am using the following statement to open a document. open("..\..\workflow.txt", "Workflow")|| die "Cannot open Workflow $!\n"; 1. the perl.exe resides in e:\perl\bin\perl.exe 2. the workflow.txt reside is e: 3. the error I am getting is "Cannot open workflow No Such file or directory" What am I doing wrong. I have tried to place them in the same directory structure and just use open(workfloe.txt) but receive the same errors. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]