beachbum has asked for the wisdom of the Perl Monks concerning the following question:
I wrote some scripts that use DBD::CSV 0.22 to read some fields from various flat files. These scripts have been running monthly without a problem until this month, when one of them failed with this error:
Error while reading file .\filename: Bad file descriptor at C:/Perl/si +te/lib/DBD/CSV.pm line 210, <GEN4> chunk 74885.
The script that is failing reads the largest of the files, and this month is the largest to date at (only) 54 MB. This is 2 MB larger than last month's file. I split the file in half, and ran the script on each of the two new files without a problem.
Am I missing a file size limitation, or maybe a number of records limitation in this module?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::CSV file size limitation?
by jZed (Prior) on Dec 07, 2005 at 18:41 UTC | |
by holli (Abbot) on Dec 07, 2005 at 19:01 UTC | |
by beachbum (Beadle) on Dec 07, 2005 at 19:15 UTC | |
by beachbum (Beadle) on Dec 07, 2005 at 19:01 UTC | |
by jZed (Prior) on Dec 07, 2005 at 21:12 UTC | |
by beachbum (Beadle) on Dec 07, 2005 at 22:10 UTC | |
|
Re: DBD::CSV file size limitation?
by beachbum (Beadle) on Dec 09, 2005 at 23:43 UTC |