Thank you. It work fine when the field has value. But when the field contains blank spaces, I am getting this error message:
Use of uninitialized value $pending_move_out_dt in concatenation (.) or string at pp6.txt line 52, <FH> line 3.
pending_move_out_dt =
Use of uninitialized value $pending_move_out_dt in concatenation (.) or string at pp6.txt line 64, <FH> line 3.