
spoon4000
New User
Oct 12, 2017, 10:50 AM
Post #1 of 2
(1823 views)
|
finding file paths
|
Can't Post
|
|
Im literally trying to make it do the simplest thing. I just want it to successfully locate a file but it always give me this error. No such file or directory at C:\Users\***\perl\reading.pl line 8. I know the file is there, I put it there. why won't the program look where i'm telling it to look
use strict; use warnings; open (PROTEIN, '<','C:\\Users\\***\\Documents\\protein_data\\NM_021964.txt',) or die $!; my $protein = <PROTEIN>; print 'success'; close (PROTEIN); exit Thanks in advance
|