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
That would still not work. You are putting the cart before the horse, or rather, the filename before the filehandle. open(FH, "file.txt") ... perldoc -f open perldoc perlopentut Cheers, Kevin On Mon, Dec 10, 2001 at 05:35:14PM -0600, Herbold, John W. ([EMAIL PROTECTED]) said something similar

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 PROTECTED] Subject: help with open functi