mrpatel
January 17th, 2003, 01:53 PM
Hi,
I have a file without any extension, so it's file type is File. How do I open it in perl to read input from that file? It doesn't let me open the file and read from it with the following line:
open( EF, "$each_file" ) or die "can not open a file $each_file\n";
and I get the following output on the cmd prompt:
can not open a file temp
Any Idea?
Thanks,
-Mehul
I have a file without any extension, so it's file type is File. How do I open it in perl to read input from that file? It doesn't let me open the file and read from it with the following line:
open( EF, "$each_file" ) or die "can not open a file $each_file\n";
and I get the following output on the cmd prompt:
can not open a file temp
Any Idea?
Thanks,
-Mehul