C:\Documents and Settings\jnorton>ppm install Text::CSV
Downloading ActiveState Package Repository packlist...not modified
Downloading Text-CSV-1.13...done
Unpacking Text-CSV-1.13...done
Generating HTML for Text-CSV-1.13...done
Updating files in site area...done
4 files installed
Even though your original post provides only a single line:
$colref = $csv->getline ($io);
(which you really cannot expect to be enough information, can you?!!), at least you provide an almost complete example by your 3rd post. (I say "almost", because it still doesn't tell us what's in your data file "gridall.csv". But no matter, we'll figure that out).
So let's try running your program. The only changes I've made are removing some blank lines, consolodating the text in the pring statements, and adding use strict; and use warnings; (which you have been told about many times before, but still seem oblivous to the purpose for -- just because you can't see the errors in your program doesn't mean they're not there!):
s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
|