Re^3: file not found with OPEN
by nlwhittle (Beadle) on Jan 06, 2015 at 18:39 UTC
|
I set up a directory and file structure to match what your code is looking for and ran the portion of it that tries to open the files. It seems to work. I'm using Cygwin so the directory structure is UNIX-like.
I think you are assuming something incorrect about where your file(s) are located. Could you maybe paste in the complete path to your files?
| [reply] |
|
|
Here is the path:
"C:\Volumes\EDGAR1\Edgar\full-index\company12014.idx"
| [reply] |
|
|
You don't have the volume name (C:) in your code. That's likely to be the reason.
Try to change your variable definition to:
my $inddirect="C:/Volumes/EDGAR1/Edgar/full-index";
| [reply] [d/l] [select] |
|
|
changed the file open with Padre, but still have same error. Thanks for the info on Windows and CSV files!
| [reply] |
Re^3: file not found with OPEN
by nlwhittle (Beadle) on Jan 06, 2015 at 18:56 UTC
|
| [reply] |
|
|
Yup, that did it! Pgm seemed to run before without the C spec, but if that's what it takes to get 'er done, I'm on it. I am grateful for your time and patience. Apologize for wasting your time on such a trivial matter! :-)
| [reply] |
|
|
The C spec does the trick! Seemed to work before without it, but if that's what it takes, I'm on it. Thank you!! I am grateful for your time and patience. Apologize for wasting your time! :-)
| [reply] |
|
|
I was actually the first one to identify the problem and to give you this solution (yeah, only by a margin of 3 minutes, but still), but you are thanking only others. Oh, well, never mind.
| [reply] |
|
|
Re^3: file not found with OPEN
by nlwhittle (Beadle) on Jan 06, 2015 at 18:26 UTC
|
Your error message should contain the file name that it's dying on, what is that file name?
| [reply] |
|
|
File name is company12014.idx
| [reply] |