Susmitha Metlapalli wrote:
I have also tried executing the following command in perl script.
system("perl -i -p -e 's/\n/\r\n/' <filename>" );
Maybe I'm misunderstanding something, but are you really calling an external command to run a perl script from within a perl script there? Why not just run the perl commands directly?