Hello Wise Monks
I have a question about some scripting that a programmer (who has now left) at my work did for a report I run. I run two reports get the phone performace stats of our agents. These are saved as .csv files into a folder and the Perl program runs every minute, it then spits out a 3rd giving me a condensed version of the two with some more specific info. We recently upgraded our phone reporting system and now the Perl report won't run. I am producing the 2 .csv files but now when I run it the output txt says:
"[FATAL] (3) Encountered line of unknown length (11)"
I have asked the IT guys here what could be causing the problem but no-one knows Perl. I got a copy of the script and this is the line that seems to relate to the error message:
print "[DEBUG] ($.) Call Length det='$detail' ($dh:$dm:$ds)\n" if $DEB +UG; } else { # TODO : Might want to issue an alert and solder on! safedie "[FATAL] ($.) Encountered line of unknown length (",$#line + 1 +,")";
Can you please advise what Perl is telling me about the .csv files? I have looked over copies of ones that worked and ones that don't and I can't see what could be causing the problem.
Thanks very much for any wisdom you can offer!
20071129 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
In reply to do not understand [Fatal] message by kaasboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |