in reply to wierd output

Thanks for the help ppl but i've managed to fix the distortion in output

foreach (@lines){ chomp($_); print "$_\r\n"; }

using a \r carriage return fixes the problem.

Replies are listed 'Best First'.
Re^2: wierd output
by BillKSmith (Monsignor) on Dec 17, 2012 at 14:30 UTC
    It appears to me that you have fixed the symptom, not the problem. That is sometime good enough (or the best that we can do), but be aware of the difference.
    Bill