open( MAIL,">/home/mfali/Workscripts/tmpfile.html" ) || die $!; ... open( REPORT, "/home/mfali/public_html/my_report1/out.html" ) || die $!;