!#c:\perl\binprint "Content-type: text/html\n\n";open(MYFILE, "c:\\testfile.dat")|| die print "Error encountered opening file ... $!";while(defined($dataline=)) { print "$dataline "; }close(MYFILE);