Well, besides escaping the periods, you also have it backwards. It should be open(Workflow, "workflow.txt") || die $!;
Unless someone knows something I don't..but I couldn't get it to work your way. Regards, Agustin Rivera Webmaster, Pollstar.com http://www.pollstar.com ----- Original Message ----- From: "Lance Prais" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 10, 2001 5:20 PM Subject: help with open 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]