[Wylug-help] perl and Tie::Handle::CSV
Gary Stainburn
gary.stainburn at ringways.co.uk
Thu Jun 28 16:10:58 BST 2007
On Thursday 28 June 2007 00:40, you wrote:
> Hi folks.
>
> I've got the following script which works until it reaches the end of the
> input file. It processes the last line and prints out the contents, but
> then the program terminates with the unhelpful error:
> @@@@@@@@@@@@@@@@@@@
>
> Gary
>
> This line doesn't look right to me
>
> print "Comments:\t'",$csv_line->{"Comments"}, "'\n";
>
> Regards
>
> Imran
Hi Imran,
I've had a look at the line and I can't see anything wrong with it.
However, if I redirect the output to VIM I see that the actual error line is:
^Z at ../bin/walon line 25
It looks like it's not handling end of file properly. I'm in a thread on the
Perl beginners list at the moment to try to sort it.
Gary
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
More information about the Wylug-help
mailing list