From: Sven Schöling Date: Wed, 23 Feb 2011 10:32:15 +0000 (+0100) Subject: SL::Helper::Csv: Doku zur Errorstruktur. X-Git-Tag: release-2.7.0beta1~396^2~78 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bd9f274b4cb0d0f9b570c85b753d2a9cb60a7f47;p=kivitendo-erp.git SL::Helper::Csv: Doku zur Errorstruktur. --- diff --git a/SL/Helper/Csv.pm b/SL/Helper/Csv.pm index 621d13aa8..72863431c 100644 --- a/SL/Helper/Csv.pm +++ b/SL/Helper/Csv.pm @@ -317,11 +317,11 @@ After parsing a file all errors will be accumulated into C. Each entry is an arrayref with the following structure: [ - offending raw input, - Text::CSV error code if T:C error, 0 else, - error diagnostics, - position in line, - estimated line in file, + 0 offending raw input, + 1 Text::CSV error code if T:C error, 0 else, + 2 error diagnostics, + 3 position in line, + 4 estimated line in file, ] Note that the last entry can be off, but will give an estimate.