in reply to Re^3: Comparison of alphanumeric strings
in thread Comparison of alphanumeric strings

Grandfather, thanks for the reply. but one problem is that if the input is like given below it inserts a space between the lines:
D|06/09/2009|1454| D|06/09/2009|2123cus| D|06/09/2009|4123| D|06/09/2009|aus| D|06/09/2009|aaus12321|
:(

Replies are listed 'Best First'.
Re^5: Comparison of alphanumeric strings
by GrandFather (Saint) on Sep 17, 2009 at 20:36 UTC

    Not for me with the sample code I posted. Either the data you posted doesn't match the data you saw the issue with, or your actual code performs processing on the data that my sample doesn't and that processing is introducing the problem. Could it be that the number of columns is important for your extra processing?

    It may help to chomp each input line then append a newline to each line when you print.


    True laziness is hard work