martin.. i will remember to post with code next time
open file in :crlf mode works.. i need not run unix2dos command on files where this perl program is creating
for other files which this program pull from other sources ... i am still using unix2dos command before zipping and then moving to windows environment