Ah.  There's your problem.  Perl thinks you're trying to escape characters.
Perl sees "c:(formfeed)older(formfeed)older(tab)est.cgi".  
If you are going to use backslashes, you have to do double-backslashes.
"c:\\folder\\folder\\test.cgi".

Of course, Perl will also know what you mean if you use forward slashes, so
that might be easier to read. "c:/folder/folder/test.cgi".
-----Original Message-----
From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 6:48 PM
To: Timothy Johnson
Cc: [EMAIL PROTECTED]
Subject: RE: Cant open file...


Well I think I have figured it out...

The location of my file looked like this...

$file = "c:\folder\folder\test.cgi";

Now this didn't work like this so I changed it to...

$file = 'c:\folder\folder\test.cgi';

Now it works fine. I don't really know why but as long as it works :)

Regards,

Dan

-----Original Message-----
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 4 April 2002 11:30 AM
To: Daniel Falkenberg; [EMAIL PROTECTED]
Subject: RE: Cant open file...



You really haven't given us much to go on, but I guess you might
double-check to see if there are spaces in the filename, or if you have
a \n
in there somewhere.

-----Original Message-----
From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 6:04 PM
To: [EMAIL PROTECTED]
Subject: Cant open file...


Hi all,

Just wondering why this error message is appearing on my windows box.  I
can read the file okay on a Linux box but when I ported my program to
the Windows box I am not receiving the following error message.  I have
set the permissions on the file the full access to everyone (For testing
purposes :) ) but still no luck.

Has any one seen this type of error message before?
 
cannot open '<LOCATION OF FILE>FILE_NAME' for reading: Invalid argument
Can't lock <LOCATION OF FILE>$FILE_NAME exclusively: Bad file descriptor
at <LOCATION OF FILE>accountstatus.cgi line 412.

P.S: The location of the file is exact!

Thx,

Dan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------------------------
--------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.


--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to