You probably would need to show us a little more of the code, and you would have to put the code between <code> and </code> tags, so it will be easier for us to see it. It would also help a lot if you could tell us what modules are being used in the script -- look for lines that begin with "use " (if any), and show those to us.
For that matter, if the script as a whole is not too big (and if posting it in public here will not get you into trouble), show us the whole thing. (Anything over 150 lines is probably "too big", and you would have to figure out how to show us just the relevant parts -- for instance, if the line with the error is inside a subroutine, maybe you could show us the whole sub block, and the line(s) elsewhere in the code where the subroutine is called.)
Offhand, it sounds like a case where the new reporting system has more fields than the old one did, or maybe (ugh) it uses different numbers of fields on some records. (Or maybe there is a problem with the new files, and this program would not fail if the files were actually okay).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.