|
|
| Welcome to the Monastery | |
| PerlMonks |
wierd outputby oldirtysingh (Novice) |
| on Dec 17, 2012 at 12:41 UTC ( #1009158=perlquestion: print w/ replies, xml ) | Need Help?? |
|
oldirtysingh has asked for the
wisdom of the Perl Monks concerning the following question:
Hi ppl,
Got a really weird problem, which comes and goes but is upsetting my perl output. Code snippet##above stores and prints file contents to screen
#the above hands session to user..... and loops until it finds an exit|logout or quit in the logfile then quits correct output
incorrect output
i can press cntrl + a any number of times and randomly the output will distort from the normal format like above. Anyone know a possible cause? Tried all kinds of workarounds and come to the conclusion that anytime a "\n" is used in the loop, this distortion occurs every so often. The next line in the file prints at the end of the previous line but on a newline, if that makes sense :s
Would be very greatful for the help
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||