Thank you for your response.
Here is a Challenge
Your code works in v5.10.1 Binary build 1007
291969 but not Binary build 1006
291086
My former code worked in Build 1006 but not 1007.
point.csv does exist.. in the same directory
Here is my error message.. still peculiar to a file open issue. The File.pm is ~2009 on the 1007 build and ~2008 on the 1006 build.
C:\....>afs_filter.pl
Execution ERROR: Cannot open point: No such file or directory at C:/P
+erl64/lib/DBD/File.pm line 579.
.
DBD::CSV::st fetchrow_array failed: Attempt to fetch row without a pre
+ceeding execute() call or from a non-SELECT statement [for Statement
+"SELECT RECORD,SUBSCRIPT,ID_SUBSTN,CO_SUBSTN,AREA_SUBSTN,ID_D
EVTYP,ID_DEVICE,NAME_DEVICE,AREA_DEVICE,ID_MEAS,ID_POINT,SITE_POINT,AR
+EA_POINT FROM point WHERE ID_DEVTYP LIKE 'INTELI%' AND ID_POINT LIKE
+ 'AUTO%'"] at C:\....afs_filter.pl line 53.
Any ideas? Thanks
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.