Jun 4, 2013, 3:32 PM
Post #1 of 2
Reading a File
I have a .txt file I'm trying to open with Perl, but whenever I write a program to open it, nothing happens (or at least, I don't see anything).
The name of the file is prot.txt. It contains protein sequences. Anyhew, this is how the program I've written looks like:
$proteinfilename = 'prot.txt';
@protein = <PROTEINFILE>;
However, when I run the program using the command prompt, there are no visible results. Any thoughts about what might be going on? Thanks.