open (FILEHANDLE, "<yourFile.txt") or die ("Cannot open hello.txt"); print <FILEHANDLE>; close (FILEHANDLE);