S
sivasish
i am getting an error when i am trying to compile folling program in
perl
#!/usr/bin/perl-w
$file= 'siva.pep';
open(FILENAME,$file);
@protein=<FILENAME>;
print @protein;
close FILENAME;
ERROR - readline<>is a closed filehandle FILENAME.........
file "siva.pep" is stored in F DIRECTORY.
I am not able understand the error. .
perl
#!/usr/bin/perl-w
$file= 'siva.pep';
open(FILENAME,$file);
@protein=<FILENAME>;
print @protein;
close FILENAME;
ERROR - readline<>is a closed filehandle FILENAME.........
file "siva.pep" is stored in F DIRECTORY.
I am not able understand the error. .