use FileHandle; my $fh = new FileHandle "< $file"; $fh -> open;