Re: help with open function

2001-12-11 Thread Carl Franks
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")

Re: help with open function

2001-12-10 Thread Kevin Meltzer
]] > 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

2001-12-10 Thread Lance Prais
: 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

RE: help with open function

2001-12-10 Thread Herbold, John W.
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

help with open function

2001-12-10 Thread Lance Prais
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