
spider
User

Aug 14, 2009, 4:44 AM
Post #10 of 10
(12528 views)
|
Re: [perlisgreat] Output mismatch
[In reply to]
|
Can't Post
|
|
Have you tried to seperate only this code (like I did), and tested the result? When you don't know where an error happens, It is a good ide to add some more debug printoute. ex. at the top of the for-loop. Add a print of the record, and see if all records are as you expected. If they are, remove it, and do the same inside your if-statement, to see if that capture the records you expect. Also, remeber to always add the following lines to the top of your code: use strict ; use warnings ; And when you have trobles, also add use diagnostics ;
|