Hi, I want to do some data validation... I hvae to read each (row)line in a file and have to check the length of each row, if length of row is 263 I need to add 2 spaces at the end of line (row) to make 265 row lenghth ..
Here how to add spaces at the end of length while(<FH>) { if (length($_) == 263) { Add 2 spaces to the end (before new line char) of $_ } } How to do this ? Thanx -Madhu __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]