Subject: | Text-CSV-Simple Fails when parsing through a CSV file - Correct test.txt file |
Date: | Wed, 24 May 2006 17:32:04 -0700 |
To: | bug-Text-CSV-Simple [...] rt.cpan.org |
From: | "Ravi Mahendrakar" <iravim [...] hotmail.com> |
Hello,
Attached to this mail is the correct test.txt file ...
My earlier mail is as follows:
I've attached the PERL script and the CSV file that I am trying to parse in into an array, but, the Text-CSV-Simple reports the following error:
C:\>perl Test_CSVSimple.pl
Failed on "ACTNO","EMP_ACT","AUTOMATION",,"SMALLINT","N",0,0,2,0,2,-1,"
Failed on "ACTNO","EMP_ACT","AUTOMATION",,"SMALLINT","N",0,0,2,0,2,-1,"
Failed on "ADMRDEPT","DEPARTMENT","AUTOMATION",,"CHAR ","N",1252,0,3,0,3,-1,"
Printing Array:
ACTIVE_VERSION,LIBRARIES,SYSCAT ,,INTEGER ,N,0,0,4,0,5,-1,,,-1,,INTEGER,SYSIBM ,,4, , ,-1,-1,0,0,,
, , ,0,-1,0,-1,-1,N,O,,,
ACTIVE_VERSION,SYSLIBRARIES,SYSIBM ,,INTEGER ,N,0,0,4,0,5,-1,,,-1,,INTEGER,SYSIBM ,,4, , ,-1,-1,0,
0,,, , ,0,-1,0,-1,-1,N,O,,,
AGENTS_TOP,SNAPDB,SYSCATV82,,BIGINT ,Y,0,0,8,0,18,-1,,,-1,,BIGINT,SYSIBM ,,8, , ,-1,-1,0,0,,, , ,0
,-1,0,-1,-1,N,O,,,
ALTERAUTH,LIBRARYAUTH,SYSCAT ,,CHAR ,N,1252,0,1,0,6,-1,,,-1,,CHARACTER,SYSIBM ,,1, , ,-1,-1,125
2,0,,, , ,0,-1,0,-1,-1,N,O,,,
ACTIVE_VERSION,LIBRARIES,SYSCAT ,,INTEGER ,N,0,0,4,0,5,-1,,,-1,,INTEGER,SYSIBM ,,4, , ,-1,-1,0,0,,
, , ,0,-1,0,-1,-1,N,O,,,
ACTIVE_VERSION,SYSLIBRARIES,SYSIBM ,,INTEGER ,N,0,0,4,0,5,-1,,,-1,,INTEGER,SYSIBM ,,4, , ,-1,-1,0,
0,,, , ,0,-1,0,-1,-1,N,O,,,
AGENTS_TOP,SNAPDB,SYSCATV82,,BIGINT ,Y,0,0,8,0,18,-1,,,-1,,BIGINT,SYSIBM ,,8, , ,-1,-1,0,0,,, , ,0
,-1,0,-1,-1,N,O,,,
ALTERAUTH,LIBRARYAUTH,SYSCAT ,,CHAR ,N,1252,0,1,0,6,-1,,,-1,,CHARACTER,SYSIBM ,,1, , ,-1,-1,125
2,0,,, , ,0,-1,0,-1,-1,N,O,,,
If the above is not a defect please let me know what I am doing wrong.
Thanks!,
- Ravi Mahendrakar.
Save time by starting a search from any Web page with the MSN Search Toolbar-FREE!
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.