> A Diumenge 14 Gener 2007 11:20, Xavier Noria va escriure: >> Xavier, this is being inefficient. >> >> If you don't send a minimal example together with data example that >> reproduces the issue this is a come and go of second-guesses, which >> is a waste of time. Please send them so we can go straight to >> understand what happens. >> >> -- fxn > Thank you for your interest, Xavier, but actually that's all what's about. > I > can send you the long text files (about 3 000 entries each one), but the > program the whole program is the one I send (with the string and file > handlers pointing to the files). The output of that small program is also > just a printing to an output file. > > What else do you need?
Your problem explanation is not self-contained. It could happen that the status of open() is not checked, it could happen that files have different newline conventions and some lines had spurious CRs whereas some others don't, the files could have the wrong name in the script, a thousand possibilities we are not going to explore by trial and error trough email.... This is a list where people have years of experince debugging by email and IRC, please just follow our advice, let us guide the debugging. Please send a self-contained snippet that reproduces the issue. Turn strict and warnings on, and cut the minimal lines of your data files that reproduce the problem. I say minimal so we can focuse on the problem, this needs some little effort from your side. If you can, upload them somewhere and post links to the files so that newlines, non-ascii, etc. is preserved. -- fxn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/