Can you explain a bit what have you done here?
In reply to Re^2: Writing a new file in Perl by maheshkumar in thread Writing a new file in Perl by maheshkumar