projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62add69
)
SL::Helper::Csv: Doku zur Errorstruktur.
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 23 Feb 2011 10:32:15 +0000
(11:32 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 16 Jun 2011 06:43:59 +0000
(08:43 +0200)
SL/Helper/Csv.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/Csv.pm
b/SL/Helper/Csv.pm
index
621d13a
..
7286343
100644
(file)
--- 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<errors>.
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.