Also note that the file path is relative to the script that is being run,
not where your perl executable is.
e.g.
if perl is at
e:\perl\bin\perl.exe
and your script is at
e:\scripts\myScript.cgi
and the file is
e:\workflow.txt
then the path needs to read
open("Workflow", "..\workflow.txt")
]]
> 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";
>
: RE: help with open function
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, 200
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 PROT
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