you are escaping your .'s though not want you want to do:
          need either ..\\..\\workflow.txt or ../../workflow.txt

        Use one or other and should work if file is there.

Wags ;)

-----Original Message-----
From: Lance Prais [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 17:21
To: [EMAIL PROTECTED]
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]

Reply via email to