open (F, $file) or die "cannot open file"; while (){ print $_; } close F;